Skip to content

Instantly share code, notes, and snippets.

@n3mtbf
n3mtbf / run.rb
Created November 11, 2015 23:16
H1_Concurrency_RubyRunGenerated
loadTestDB
module H1_Concurrency
def self.Browser(loopTime)
tcase = TestCase.new("Browser")
tcase << TestAction.new(:gotoApp_7) do
@n3mtbf
n3mtbf / run.rb
Created September 30, 2015 18:30
Concurrency_RubyRunGenerated
loadTestDB
module Concurrency
def self.Browser(loopTime)
tcase = TestCase.new("Browser")
tcase << TestAction.new(:gotoApp_7) do
@n3mtbf
n3mtbf / run.rb
Created September 30, 2015 17:05
N3_MTBF_backup0930_RubyRunGenerated
loadTestDB
module N3_MTBF_backup0930
def self.Browser_05_01_04_01(loopTime)
tcase = TestCase.new("Browser_05_01_04_01")
tcase << TestAction.new(:scriptAction_2) do
@n3mtbf
n3mtbf / Browser_05_01_04_01.json
Created September 30, 2015 17:05
N3_MTBF_backup0930
{"name":"Browser_05_01_04_01","objectlist":[{"class":"ImageButton","resource-id":"softkey%3A%2Fscriptaction","codegen":"logStartTest(%22Browser_05_01_04_01%22)","varname":"scriptAction_2","objecttable-uuid":"cacb6879-6171-492d-d041-99bbf64e28c2","action":"click","uititle":"ImageButton%0Asoftkey%3A%2Fscriptaction","uinameinfo":"%3Csoftkey%3A%2Fscriptaction%3E","actiontype":"script","randomexec":"100","waittime":"0s","loadfromsavedobject":true},{"class":"ImageButton","resource-id":"softkey%3A%2Fgotoapp","codegen":"","varname":"gotoApp_2","objecttable-uuid":"ec8c2cb5-005c-4189-c656-6b608778077e","action":"codegen","uititle":"ImageButton%0Asoftkey%3A%2Fgotoapp","uinameinfo":"%3Csoftkey%3A%2Fgotoapp%3E","actiontype":"script","randomexec":"100","waittime":"0s","inputtext":"Chrome","loadfromsavedobject":true},{"parentid":9223372032559809000,"sourcenodeid":9223372032559809000,"windowid":320,"index":2,"classname":"Button","class":"Button","text":"Accept%20%20continue","parentpathid":-119906854,"objectid":-731197748,"s
@n3mtbf
n3mtbf / run.rb
Created September 29, 2015 21:30
N3_MTBF_RubyRunGenerated
loadTestDB
module N3_MTBF
def self.Browser_05_01_04_01(loopTime)
tcase = TestCase.new("Browser_05_01_04_01")
tcase << TestAction.new(:scriptAction_2) do
@n3mtbf
n3mtbf / run.rb
Created September 28, 2015 18:08
N3_MTBF_wifi_0928_RubyRunGenerated
loadTestDB
module N3_MTBF_wifi_0928
def self.Browser_05_01_04_01(loopTime)
tcase = TestCase.new("Browser_05_01_04_01")
tcase << TestAction.new(:scriptAction_2) do
@n3mtbf
n3mtbf / Browser_05_01_04_01.json
Last active September 28, 2015 18:08
N3_MTBF_wifi_0928
{"name":"Browser_05_01_04_01","objectlist":[{"class":"ImageButton","resource-id":"softkey%3A%2Fscriptaction","codegen":"logStartTest(%22Browser_05_01_04_01%22)","varname":"scriptAction_2","objecttable-uuid":"cacb6879-6171-492d-d041-99bbf64e28c2","action":"click","uititle":"ImageButton%0Asoftkey%3A%2Fscriptaction","uinameinfo":"%3Csoftkey%3A%2Fscriptaction%3E","actiontype":"script","randomexec":"100","waittime":"0s","loadfromsavedobject":true},{"class":"ImageButton","resource-id":"softkey%3A%2Fgotoapp","codegen":"","varname":"gotoApp_2","objecttable-uuid":"ec8c2cb5-005c-4189-c656-6b608778077e","action":"codegen","uititle":"ImageButton%0Asoftkey%3A%2Fgotoapp","uinameinfo":"%3Csoftkey%3A%2Fgotoapp%3E","actiontype":"script","randomexec":"100","waittime":"0s","inputtext":"Chrome","loadfromsavedobject":true},{"parentid":9223372032559809000,"sourcenodeid":9223372032559809000,"windowid":320,"index":2,"classname":"Button","class":"Button","text":"Accept%20%20continue","parentpathid":-119906854,"objectid":-731197748,"s
@n3mtbf
n3mtbf / Browser.json
Last active September 30, 2015 18:30
Concurrency
{"name":"Browser","objectlist":[{"class":"ImageButton","resource-id":"softkey%3A%2Fgotoapp","codegen":"","varname":"gotoApp_7","objecttable-uuid":"aba56371-f0ea-4431-c3c6-18d081a7e6d1","action":"codegen","uititle":"ImageButton%0Asoftkey%3A%2Fgotoapp","uinameinfo":"%3Csoftkey%3A%2Fgotoapp%3E","actiontype":"script","randomexec":"100","waittime":"0s","inputtext":"Chrome","loadfromsavedobject":true},{"parentid":9223372032559809000,"sourcenodeid":9223372032559809000,"windowid":9,"index":0,"classname":"EditText","class":"EditText","parentpathid":278669443,"objectid":882195433,"selfid":613381324,"resource-id":"com.android.chrome%3Aid%2Furl_bar","propmask":156,"bounds":"%5B47%2C92%5D%5B959%2C181%5D","top":92,"left":47,"bottom":181,"right":959,"uitreeindex":320,"childlevel":0,"textdescid":1578254679,"nodehash-id":234061338,"uuid":"b1f83296-86df-4521-af54-73bd1b75a5d3","varname":"EditText_UrlBar_7_1","objecttable-uuid":"8a2fd603-9cc6-4603-b53b-b285382b8973","action":"codegen","uititle":"EditText%0Acom.android.chrome%3A
{"name":"Browser_05_01_04_01","objectlist":[{"class":"ImageButton","resource-id":"softkey%3A%2Fscriptaction","codegen":"logStartTest(%22Browser_05_01_04_01%22)","varname":"scriptAction_2","objecttable-uuid":"cacb6879-6171-492d-d041-99bbf64e28c2","action":"click","uititle":"ImageButton%0Asoftkey%3A%2Fscriptaction","uinameinfo":"%3Csoftkey%3A%2Fscriptaction%3E","actiontype":"script","randomexec":"100","waittime":"0s","loadfromsavedobject":true},{"class":"ImageButton","resource-id":"softkey%3A%2Fgotoapp","codegen":"","varname":"gotoApp_2","objecttable-uuid":"ec8c2cb5-005c-4189-c656-6b608778077e","action":"codegen","uititle":"ImageButton%0Asoftkey%3A%2Fgotoapp","uinameinfo":"%3Csoftkey%3A%2Fgotoapp%3E","actiontype":"script","randomexec":"100","waittime":"0s","inputtext":"Chrome","loadfromsavedobject":true},{"parentid":9223372032559809000,"sourcenodeid":9223372032559809000,"windowid":320,"index":2,"classname":"Button","class":"Button","text":"Accept%20%20continue","parentpathid":-119906854,"objectid":-731197748,"s