Esempio n. 1
0
driver = webdriver.Remote(command_executor=port,
                          desired_capabilities={
                              'automationName': 'UiAutomator2',
                              'deviceName': 'Moto G (5)',
                              'platformName': 'Android',
                              'app':
                              'C:/Users/ze0396/Desktop/AGTGA/APKS/ny.apk',
                              'autoGrantPermissions': 'true',
                              'appWaitActivity': '*.*',
                              'fullreset': 'false',
                              'noReset': 'true'
                          })

time.sleep(2)
time.sleep(2)
el = ElementFinder(driver, 144, 1632)
el.click()
time.sleep(2)
el = ElementFinder(driver, 504, 1632)
el.click()
time.sleep(2)
el = ElementFinder(driver, 864, 1632)
el.click()
time.sleep(2)
el = ElementFinder(driver, 217, 776)
el.click()
time.sleep(2)
el = ElementFinder(driver, 48, 1496)
el.click()
time.sleep(2)
el = ElementFinder(driver, 0, 72)
Esempio n. 2
0
import time 
from appium import webdriver 
from appium.webdriver.common.touch_action import TouchAction  
from TestSuite.TestSuiteHelper import ElementFinder 
 
 
port = 'http://localhost:4723/wd/hub' 
driver = webdriver.Remote(command_executor=port, desired_capabilities={'automationName' : 'UiAutomator2','deviceName': 'Moto G (5)','platformName': 'Android',  'app': 'C:/Users/ze0396/Desktop/AGTGA/APKS/LifeHack.apk' , 'autoGrantPermissions' : 'true', 'appWaitActivity' : '*.*','fullreset' : 'false','noReset' : 'true' } ) 
 
time.sleep(2)
time.sleep(2) 
el = ElementFinder(driver, 385,208) 
el.click()
time.sleep(2) 
el = ElementFinder(driver, 822,144) 
el.click()
time.sleep(2) 
el = ElementFinder(driver, 30,1320) 
el.click()
time.sleep(2) 
el = ElementFinder(driver, 30,1046) 
el.click()
time.sleep(2) 
el = ElementFinder(driver, 30,497) 
el.click()
driver.press_keycode(3) 
driver.close_app() 
driver.quit() 
print('TestCase finished successfully')
Esempio n. 3
0
port = 'http://localhost:4723/wd/hub'
driver = webdriver.Remote(
    command_executor=port,
    desired_capabilities={
        'automationName': 'UiAutomator2',
        'deviceName': 'Moto G (5)',
        'platformName': 'Android',
        'app': 'C:/Users/ze0396/Desktop/AGTGA/APKS/LifeHack.apk',
        'autoGrantPermissions': 'true',
        'appWaitActivity': '*.*',
        'fullreset': 'false',
        'noReset': 'true'
    })

time.sleep(2)
time.sleep(2)
el = ElementFinder(driver, 66, 366)
el.click()
time.sleep(2)
el = ElementFinder(driver, 570, 1255)
el.click()
time.sleep(2)
el = ElementFinder(driver, 198, 370)
el.click()
time.sleep(2)
el = ElementFinder(driver, 918, 87)
el.click()
driver.press_keycode(3)
driver.close_app()
driver.quit()
print('TestCase finished successfully')
Esempio n. 4
0
import time 
from appium import webdriver 
from appium.webdriver.common.touch_action import TouchAction  
from TestSuite.TestSuiteHelper import ElementFinder 
 
 
port = 'http://localhost:4723/wd/hub' 
driver = webdriver.Remote(command_executor=port, desired_capabilities={'automationName' : 'UiAutomator2','deviceName': 'Moto Z3 Play','platformName': 'Android',  'app': 'C:/Users/ze0396/Desktop/AGTGA/APKS/layoutInsta.apk' , 'autoGrantPermissions' : 'true', 'appWaitActivity' : '*.*','fullreset' : 'false','noReset' : 'true' } ) 
 
time.sleep(2)
time.sleep(2) 
el = ElementFinder(driver, 412,1) 
el.click()
time.sleep(2) 
el = ElementFinder(driver, 424,559) 
el.click()
time.sleep(2) 
el = ElementFinder(driver, 412,1) 
el.click()
time.sleep(2) 
el = ElementFinder(driver, 0,0) 
el.click()
driver.press_keycode(3) 
driver.close_app() 
driver.quit() 
print('TestCase finished successfully')
Esempio n. 5
0
import time 
from appium import webdriver 
from appium.webdriver.common.touch_action import TouchAction  
from TestSuite.TestSuiteHelper import ElementFinder 
 
 
port = 'http://localhost:4723/wd/hub' 
driver = webdriver.Remote(command_executor=port, desired_capabilities={'automationName' : 'UiAutomator2','deviceName': 'samsung SM-G390F','platformName': 'Android',  'app': 'C:/Users/ze0396/Desktop/AGTGA/APKS/ZaraHome.apk' , 'autoGrantPermissions' : 'true', 'appWaitActivity' : '*.*','fullreset' : 'false','noReset' : 'true' } ) 
 
time.sleep(2)
time.sleep(2) 
el = ElementFinder(driver, 178,160) 
el.click()
el.send_keys('qjfzueceujeuhlmjnbljtgspbinhijxrwmxjvsjidtywgmhakchbyltopukmvummatixcmqcxuokkxsfyrzrlpncfeksyicdxmvcsyxhkpzwzbulhdjhihirtqjlbpgngzosjjgfocadniknacfmhnlhpraawfyjktmys') 

driver.back()
time.sleep(2) 
el = ElementFinder(driver, 0,1168) 
el.click()
time.sleep(2) 
el = ElementFinder(driver, 178,160) 
el.click()
el.send_keys('becxonlymmmmqsojtitkmpcrrhyqmaknyjbbxlnomusqrvczxqjoukzkcouwgkjgkkupngwfsgqjalhyjhmsktyriidmfyfzgffmjouvrzngwuhbhbifrytiffovvhdzvndbeltiycldaejaurizyhdyzsiknckeeqillrqovkoefttnexfiyxltlamkqwcfixwffcqqfqwnlpclfhnqtryqcpvluhstzzqazllrvuunxpqnnuswuhzonavjnqxrcgzddjmymkdpjyrcqxlgorgfgwtjyiugcisrhuhaooblhhrevzkuxlawwyymlgtghbknzaynvwkgwdnknslykguibabimiwqxyxfwppmjsxxysrwadepjnzuuzwgqbcqaeqmtwlvjpfrtypvkdluzzuoxnlvwckeucxntqszyypqiifyslaruhzdcgnuearaqylmjplpolreulfttotnngxssjvqfqdezlkqdigqyacjdtygpbrivqxherrvrisrpfvfnkoretmssnjmwqlosblnuihzhhmoieqgmkkcrfgjaied') 

driver.back()
time.sleep(2) 
el = ElementFinder(driver, 620,72) 
el.click()
time.sleep(2) 
el = ElementFinder(driver, 355,885) 
el.click()
Esempio n. 6
0
driver = webdriver.Remote(
    command_executor=port,
    desired_capabilities={
        'automationName': 'UiAutomator2',
        'deviceName': 'Moto Z3 Play',
        'platformName': 'Android',
        'app': 'C:/Users/ze0396/Desktop/AGTGA/APKS/layoutInsta.apk',
        'autoGrantPermissions': 'true',
        'appWaitActivity': '*.*',
        'fullreset': 'false',
        'noReset': 'true'
    })

time.sleep(2)
time.sleep(2)
el = ElementFinder(driver, 424, 559)
el.click()
time.sleep(2)
el = ElementFinder(driver, 901, 1900)
el.click()
time.sleep(2)
el = ElementFinder(driver, 0, 1966)
el.click()
time.sleep(2)
el = ElementFinder(driver, 412, 1)
el.click()
time.sleep(2)
el = ElementFinder(driver, 960, 2006)
el.click()
time.sleep(2)
el = ElementFinder(driver, 164, 3036)
Esempio n. 7
0
port = 'http://localhost:4723/wd/hub'
driver = webdriver.Remote(command_executor=port,
                          desired_capabilities={
                              'automationName': 'UiAutomator2',
                              'deviceName': 'samsung SM-G390F',
                              'platformName': 'Android',
                              'app': 'F:/AGTGA/APKS/calm.apk',
                              'autoGrantPermissions': 'true',
                              'appWaitActivity': '*.*',
                              'fullreset': 'false',
                              'noReset': 'true'
                          })

time.sleep(2)
time.sleep(2)
el = ElementFinder(driver, 24, 1193)
el.click()
time.sleep(2)
el = ElementFinder(driver, 44, 834)
el.click()
time.sleep(2)
el = ElementFinder(driver, 24, 1193)
el.click()
time.sleep(2)
el = ElementFinder(driver, 224, 1226)
el.click()
time.sleep(2)
el = ElementFinder(driver, 480, 1140)
el.click()
time.sleep(2)
el = ElementFinder(driver, 0, 208)
Esempio n. 8
0
port = 'http://localhost:4723/wd/hub'
driver = webdriver.Remote(command_executor=port,
                          desired_capabilities={
                              'automationName': 'UiAutomator2',
                              'deviceName': 'samsung SM-G390F',
                              'platformName': 'Android',
                              'app': 'F:/AGTGA/APKS/IKEA.apk',
                              'autoGrantPermissions': 'true',
                              'appWaitActivity': '*.*',
                              'fullreset': 'false',
                              'noReset': 'true'
                          })

time.sleep(2)
time.sleep(2)
el = ElementFinder(driver, 592, 80)
el.click()
time.sleep(2)
el = ElementFinder(driver, 48, 256)
el.click()
driver.back()
time.sleep(2)
el = ElementFinder(driver, 334, 1200)
el.click()
time.sleep(2)
el = ElementFinder(driver, 640, 1093)
el.click()
time.sleep(2)
el = ElementFinder(driver, 16, 48)
el.click()
time.sleep(2)
Esempio n. 9
0
port = 'http://localhost:4723/wd/hub'
driver = webdriver.Remote(
    command_executor=port,
    desired_capabilities={
        'automationName': 'UiAutomator2',
        'deviceName': 'samsung SM-G390F',
        'platformName': 'Android',
        'app': 'C:/Users/ze0396/Desktop/AGTGA/APKS/ZaraHome.apk',
        'autoGrantPermissions': 'true',
        'appWaitActivity': '*.*',
        'fullreset': 'false',
        'noReset': 'true'
    })

time.sleep(2)
time.sleep(2)
el = ElementFinder(driver, 178, 160)
el.click()
el.send_keys(
    'crlurudesrutcmzmbwkxntnwgkenoijshdbkbjblcwvmjfnjvfzubcpugzdklgkjjhangccmrlgwyzugtjvcfqamyqtygovdjnfussrcbixlieebjgnukudnxeyjsrrblysxjynwklqbigshinkcjyvxfqnqpjqmqyffwmrymzlktavztpqsqenatfiqukqsoypslkpnelmnwbosozcfjbmvxhpfmhwbpgbsjxrekztcldoobvaehtjakezzpccfsdezedbfouqnknhmxtwkhkyxgckymtcphxrqtolzonbkuojbvykxcjhhhihrklvvluolvrlqdahgmgoabbnwtepfuldg'
)

driver.back()
time.sleep(2)
el = ElementFinder(driver, 200, 79)
el.click()
driver.press_keycode(3)
driver.close_app()
driver.quit()
print('TestCase finished successfully')
Esempio n. 10
0
import time
from appium import webdriver
from appium.webdriver.common.touch_action import TouchAction
from TestSuite.TestSuiteHelper import ElementFinder

port = 'http://localhost:4723/wd/hub'
driver = webdriver.Remote(command_executor=port,
                          desired_capabilities={
                              'automationName': 'UiAutomator2',
                              'deviceName': 'samsung SM-G390F',
                              'platformName': 'Android',
                              'app': 'F:/AGTGA/APKS/Blocket.apk',
                              'autoGrantPermissions': 'true',
                              'appWaitActivity': '*.*',
                              'fullreset': 'false',
                              'noReset': 'true'
                          })

time.sleep(2)
time.sleep(2)
el = ElementFinder(driver, 32, 306)
el.click()
time.sleep(2)
el = ElementFinder(driver, 592, 530)
el.click()
Esempio n. 11
0
driver = webdriver.Remote(command_executor=port,
                          desired_capabilities={
                              'automationName': 'UiAutomator2',
                              'deviceName': 'Moto G (5)',
                              'platformName': 'Android',
                              'app':
                              'C:/Users/ze0396/Desktop/AGTGA/APKS/ny.apk',
                              'autoGrantPermissions': 'true',
                              'appWaitActivity': '*.*',
                              'fullreset': 'false',
                              'noReset': 'true'
                          })

time.sleep(2)
time.sleep(2)
el = ElementFinder(driver, 48, 282)
el.click()
time.sleep(2)
el = ElementFinder(driver, 0, 72)
el.click()
time.sleep(2)
el = ElementFinder(driver, 504, 1632)
el.click()
time.sleep(2)
el = ElementFinder(driver, 576, 1560)
el.click()
time.sleep(2)
el = ElementFinder(driver, 72, 1560)
el.click()
time.sleep(2)
el = ElementFinder(driver, 655, 1434)
Esempio n. 12
0
from appium import webdriver
from appium.webdriver.common.touch_action import TouchAction
from TestSuite.TestSuiteHelper import ElementFinder

port = 'http://localhost:4723/wd/hub'
driver = webdriver.Remote(command_executor=port,
                          desired_capabilities={
                              'automationName': 'UiAutomator2',
                              'deviceName': 'samsung SM-G390F',
                              'platformName': 'Android',
                              'app': 'F:/AGTGA/APKS/Health.apk',
                              'autoGrantPermissions': 'true',
                              'appWaitActivity': '*.*',
                              'fullreset': 'false',
                              'noReset': 'true'
                          })

time.sleep(2)
time.sleep(2)
el = ElementFinder(driver, 0, 48)
el.click()
time.sleep(2)
el = ElementFinder(driver, 64, 479)
el.click()
time.sleep(2)
el = ElementFinder(driver, 0, 48)
el.click()
driver.press_keycode(3)
driver.close_app()
driver.quit()
print('TestCase finished successfully')
Esempio n. 13
0
import time 
from appium import webdriver 
from appium.webdriver.common.touch_action import TouchAction  
from TestSuite.TestSuiteHelper import ElementFinder 
 
 
port = 'http://localhost:4723/wd/hub' 
driver = webdriver.Remote(command_executor=port, desired_capabilities={'automationName' : 'UiAutomator2','deviceName': 'Moto G (5)','platformName': 'Android',  'app': 'C:/Users/ze0396/Desktop/AGTGA/APKS/Pinchos.apk' , 'autoGrantPermissions' : 'true', 'appWaitActivity' : '*.*','fullreset' : 'false','noReset' : 'true' } ) 
 
time.sleep(2)
time.sleep(2) 
el = ElementFinder(driver, 984,351) 
el.click()
driver.press_keycode(3) 
driver.close_app() 
driver.quit() 
print('TestCase finished successfully')
Esempio n. 14
0
port = 'http://localhost:4723/wd/hub'
driver = webdriver.Remote(command_executor=port,
                          desired_capabilities={
                              'automationName': 'UiAutomator2',
                              'deviceName': 'samsung SM-G390F',
                              'platformName': 'Android',
                              'app': 'F:/AGTGA/APKS/IKEA.apk',
                              'autoGrantPermissions': 'true',
                              'appWaitActivity': '*.*',
                              'fullreset': 'false',
                              'noReset': 'true'
                          })

time.sleep(2)
time.sleep(2)
el = ElementFinder(driver, 32, 264)
el.click()
time.sleep(2)
el = ElementFinder(driver, 32, 80)
el.click()
time.sleep(2)
el = ElementFinder(driver, 334, 1200)
el.click()
time.sleep(2)
el = ElementFinder(driver, 48, 225)
el.click()
time.sleep(2)
el = ElementFinder(driver, 640, 1093)
el.click()
time.sleep(2)
el = ElementFinder(driver, 197, 1200)
Esempio n. 15
0
import time
from appium import webdriver
from appium.webdriver.common.touch_action import TouchAction
from TestSuite.TestSuiteHelper import ElementFinder

port = 'http://localhost:4723/wd/hub'
driver = webdriver.Remote(
    command_executor=port,
    desired_capabilities={
        'automationName': 'UiAutomator2',
        'deviceName': 'Moto Z3 Play',
        'platformName': 'Android',
        'app': 'C:/Users/ze0396/Desktop/AGTGA/APKS/1weather.apk',
        'autoGrantPermissions': 'true',
        'appWaitActivity': '*.*',
        'fullreset': 'false',
        'noReset': 'true'
    })

time.sleep(2)
time.sleep(2)
el = ElementFinder(driver, 836, 71)
el.click()
driver.press_keycode(3)
driver.close_app()
driver.quit()
print('TestCase finished successfully')
Esempio n. 16
0
import time 
from appium import webdriver 
from appium.webdriver.common.touch_action import TouchAction  
from TestSuite.TestSuiteHelper import ElementFinder 
 
 
port = 'http://localhost:4723/wd/hub' 
driver = webdriver.Remote(command_executor=port, desired_capabilities={'automationName' : 'UiAutomator2','deviceName': 'samsung SM-G390F','platformName': 'Android',  'app': 'C:/Users/ze0396/Desktop/AGTGA/APKS/ZaraHome.apk' , 'autoGrantPermissions' : 'true', 'appWaitActivity' : '*.*','fullreset' : 'false','noReset' : 'true' } ) 
 
time.sleep(2)
time.sleep(2) 
el = ElementFinder(driver, 178,160) 
el.click()
el.send_keys('qqbpegeamysqnnfyqkzqphjsxugehbfqebhsbrcnqhfkpwbgbmwgkpgmiftehsmqtehvvnkebaphqnezdyqttlvvtcgoimncfettugispmxamvzhzxsktimvmclldohledxlwybidjblkhmbincrajfwuqfvlxpaaamyboeevifndgwxxlxdiawgjzunneicgmtnkefbiwpucnwhgcgpzusegyjbbpvjzhvbtxnrxkynwlulpipfadouhmbzmyxgrxyfmxaajorisdkabkqcdpiqviqpamvuwkqoxlfrwiyawygojsoqcpjndlujanyzmkovbtolktftguaqrdtxdpzftedkxiitbthvvggxcbqjhhbttvieaaqtfhonkmvlfbjpniinziwcxcdgunajconqgyqabseqlguyhrjwrwsvlqvhtrkrqgvvjwlqwtuoetedwrbqohazuzatqckzrljeiyvhjdsevsyjeemcuoejfmwcncpzmahotqgzexnogvmwphwjiwyetrovjhvcqmoyljvatsctwcmxcbmgdsibunaslulkgryqtjnsdlnsqwgrrugerhpwsjnialzbuhrznquvbrslratpfqpgavmhrhwcrxkxbazwetyaredsktzjonvtepzamaccenfwmusfgyplvtrwtqufyioqlsbntgjtybketftiuxuewlpxrpljkcjqfslgaklhdnynnsixwrlymnhkxveqfemiuldvhmoeonetvtssjpqsrvbahiwjotzgqxufrdogpbjbuywsxxblpddwkqrfozhqhamrchqvqirjjqyaydkecshtnskgyhnhwxeiusgomeulrdmovkzhalxsslcexiqvgtqxobaxkyyycmfbrsikfoiphbjygeyvoqvacxyrxujmhmfoywcnywhtqbm') 

driver.back()
time.sleep(2) 
el = ElementFinder(driver, 0,48) 
el.click()
time.sleep(2) 
el = ElementFinder(driver, 178,160) 
el.click()
el.send_keys('hselyfnsjqlozdafxvvymjqmbikqmqbandxajuegxgohqcyuwdcvynklwnmbzukvhwbijvvnitynxrbvxdpjvulfxklmshwftaqjjmmwdffqlgyavmsdxiaapyncpfacmdddcmghptilkmsvoczrehdqhguaxhlojqeqazsxssccbcshzivsbqsvcnljineizzbvhglaytkihcwrctinykykcwofqfczinuibgtckpmhudqnfkzrvuegxktnyiyubcqruhyjjjukblqixniradazpfaziqlvgwjxwyyurrobpuiedasqizqvdeesckcvbvaqyvnxxdvwbgchvkmdjxgxoitwaarixzhgrqykdjjz') 

driver.back()
driver.press_keycode(3) 
driver.close_app() 
driver.quit() 
print('TestCase finished successfully')
Esempio n. 17
0
driver = webdriver.Remote(command_executor=port,
                          desired_capabilities={
                              'automationName': 'UiAutomator2',
                              'deviceName': 'Moto G (5)',
                              'platformName': 'Android',
                              'app':
                              'C:\Users\ze0396\Desktop\AGTGA/APKS/posifon.apk',
                              'autoGrantPermissions': 'true',
                              'appWaitActivity': '*.*',
                              'fullreset': 'false',
                              'noReset': 'true'
                          })

time.sleep(2)
time.sleep(2)
el = ElementFinder(driver, 312, 633)
el.click()
el.send_keys('*****@*****.**')

time.sleep(2)
el = ElementFinder(driver, 312, 810)
el.click()
el.send_keys('Sommar2018')

driver.back()
time.sleep(2)
el = ElementFinder(driver, 216, 1479)
el.click()
time.sleep(2)
el = ElementFinder(driver, 777, 1017)
el.click()
Esempio n. 18
0
driver = webdriver.Remote(
    command_executor=port,
    desired_capabilities={
        'automationName': 'UiAutomator2',
        'deviceName': 'Moto Z3 Play',
        'platformName': 'Android',
        'app': 'C:/Users/ze0396/Desktop/AGTGA/APKS/layoutInsta.apk',
        'autoGrantPermissions': 'true',
        'appWaitActivity': '*.*',
        'fullreset': 'false',
        'noReset': 'true'
    })

time.sleep(2)
time.sleep(2)
el = ElementFinder(driver, 412, 1)
el.click()
time.sleep(2)
el = ElementFinder(driver, 0, 1966)
el.click()
time.sleep(2)
el = ElementFinder(driver, 164, 696)
el.click()
time.sleep(2)
el = ElementFinder(driver, 348, 564)
el.click()
time.sleep(2)
el = ElementFinder(driver, 0, 0)
el.click()
time.sleep(2)
el = ElementFinder(driver, 412, 1)
Esempio n. 19
0
driver = webdriver.Remote(command_executor=port,
                          desired_capabilities={
                              'automationName': 'UiAutomator2',
                              'deviceName': 'Moto G (5)',
                              'platformName': 'Android',
                              'app':
                              'C:/Users/ze0396/Desktop/AGTGA/APKS/Pinchos.apk',
                              'autoGrantPermissions': 'true',
                              'appWaitActivity': '*.*',
                              'fullreset': 'false',
                              'noReset': 'true'
                          })

time.sleep(2)
time.sleep(2)
el = ElementFinder(driver, 0, 72)
el.click()
time.sleep(2)
el = ElementFinder(driver, 48, 548)
el.click()
el.send_keys('')

time.sleep(2)
el = ElementFinder(driver, 411, 548)
el.click()
el.send_keys('')

driver.back()
time.sleep(2)
el = ElementFinder(driver, 445, 110)
el.click()
Esempio n. 20
0
import time 
from appium import webdriver 
from appium.webdriver.common.touch_action import TouchAction  
from TestSuite.TestSuiteHelper import ElementFinder 
 
 
port = 'http://localhost:4723/wd/hub' 
driver = webdriver.Remote(command_executor=port, desired_capabilities={'automationName' : 'UiAutomator2','deviceName': 'samsung SM-G390F','platformName': 'Android',  'app': 'C:/Users/ze0396/Desktop/AGTGA/APKS/ZaraHome.apk' , 'autoGrantPermissions' : 'true', 'appWaitActivity' : '*.*','fullreset' : 'false','noReset' : 'true' } ) 
 
time.sleep(2)
time.sleep(2) 
el = ElementFinder(driver, 178,160) 
el.click()
el.send_keys('yvqvzhvvhnjkgzsccfikezgwjocmhfuhdvaymuxtevpkoarrblglihpmfocdogvekmdkhpdtzvkyykhzelghimzjhersbhrspcvpnfxkdlocuzcwnwbpcuadmddeegukynudwnrfoaevljddxcoqracedduxuwhetrwekwnhcnxqcwrsshxikbqucbdxiutdnjoxtbowimwygqlumfneonjdvlopkgincveibqweusecruomhepjkjgxejehvmsjckwvvpqvaefjuifuepbdfieilnfvpsknkvomjaoitjjveolccpbwejtwkhawxgsvkuenbarmswcaujctsezzpbuunibojxanomducnslotvbcfglfhwoguyybranppmosdyjivagvtxbciqveiuknwzlrqindhobytkbsverwqvdycotjesxnluuyxgreibsghsmsjxnbxcgxxduskyjfnvfkxosprvpyttjndiaiinkvcggaikmupcbifgpypezisvawgwyoxkzbwqoojvgukigrvzirsswitvquzayilyfcrkmmuwyjlnqdeehwarvsoycxswnkcejwedbpkqnmduiiuhbmsdzajmxbyqeanckpzlngedrkwbchkqfpzmyeexnjcocbocjbqjoqudrhft') 

driver.back()
time.sleep(2) 
el = ElementFinder(driver, 0,1168) 
el.click()
time.sleep(2) 
el = ElementFinder(driver, 178,160) 
el.click()
el.send_keys('htmvagrjeinfwfhtfffadqlezuisijkaspycwmilmmlmwwxfdaxmxmueyypseypzmuihbmlwkqkgbdrvkazignmuhppofrzdekjebmwkxllmggafsdcpnwimanqravjzznjtbdtkzkgaofbbqknnnsqxalzqfhovirsdqblaryrzrrufsyqramjktmvwtbyhfckvhpgmhtzfyexnuzemqtlcjjpznvchdsiipwvydyhnmxvbklbqbvhpeqeqfujywhyoboljoltzluzcpwfnqowvlntislkdbstenxkjofgxzkexrlurkaqhhuobiqphninybckevlucgefxvmuucnkngklhnoxfglioyqiewicrcqwdtvzojxsaphbrlqwpbiiyonbejwoaclonibprjjihrwdkqabuqfmqzzkunxosyrnbfeecssiexzeutmhuunuzppwanbkjkucgcsjwerytwrqfvbeuwdspnrhruzwxjezopbdgxnfbrimymhjpvqttoplodhzmdyxxutqjaoiqdhfzdlujcooyikmkvjjiwxzukkuiwkednwiixiyvcmhduasunuzjtutqgzmjhgvzyugnykkfdtrbbyakadlihjqzdhqfpvpafscfdnkpboqlcoqqeumoivdalsfozaigatkuzheywicvdwdcgdnsrmuhtfhawosqniullebaeoiwpwnkggvubvzwbireuttiprtiwvqaoeuezflknwietlgryrhcywmwvyfwbodvlrdrdwbmwuszfgakfagkdjwzfwqeusftcieotdvimjkqsdbhymjxmqwvzwzqakymulkeqqqzswnpnijfwxtbbcpnynwjvcebbobcwzoohdqwrpqzwkfuofukalcvoceysxltybablsluaobedabhqyradnfuufjjyrikn') 

driver.back()
time.sleep(2) 
el = ElementFinder(driver, 0,48) 
el.click()
time.sleep(2) 
el = ElementFinder(driver, 178,160) 
el.click()
Esempio n. 21
0
driver = webdriver.Remote(
    command_executor=port,
    desired_capabilities={
        'automationName': 'UiAutomator2',
        'deviceName': 'samsung SM-G390F',
        'platformName': 'Android',
        'app': 'C:/Users/ze0396/Desktop/AGTGA/APKS/ZaraHome.apk',
        'autoGrantPermissions': 'true',
        'appWaitActivity': '*.*',
        'fullreset': 'false',
        'noReset': 'true'
    })

time.sleep(2)
time.sleep(2)
el = ElementFinder(driver, 178, 160)
el.click()
el.send_keys(
    'tltmruwrocmibcbrsnahofofizulfrdqxepfyzacorppcffeycbvypjouktgjfjmqdletknmhhrjjwszsibkyxlgoaystjlgqhuaxclgwcjfgwlgvp'
)

driver.back()
time.sleep(2)
el = ElementFinder(driver, 616, 56)
el.click()
time.sleep(2)
el = ElementFinder(driver, 0, 568)
el.click()
time.sleep(2)
el = ElementFinder(driver, 355, 885)
el.click()
Esempio n. 22
0
from appium.webdriver.common.touch_action import TouchAction
from TestSuite.TestSuiteHelper import ElementFinder

port = 'http://localhost:4723/wd/hub'
driver = webdriver.Remote(
    command_executor=port,
    desired_capabilities={
        'automationName': 'UiAutomator2',
        'deviceName': 'Moto G (5)',
        'platformName': 'Android',
        'app': 'C:/Users/ze0396/Desktop/AGTGA/APKS/LifeHack.apk',
        'autoGrantPermissions': 'true',
        'appWaitActivity': '*.*',
        'fullreset': 'false',
        'noReset': 'true'
    })

time.sleep(2)
time.sleep(2)
el = ElementFinder(driver, 66, 1260)
el.click()
time.sleep(2)
el = ElementFinder(driver, 198, 370)
el.click()
time.sleep(2)
el = ElementFinder(driver, 12, 87)
el.click()
driver.press_keycode(3)
driver.close_app()
driver.quit()
print('TestCase finished successfully')
Esempio n. 23
0
import time 
from appium import webdriver 
from appium.webdriver.common.touch_action import TouchAction  
from TestSuite.TestSuiteHelper import ElementFinder 
 
 
port = 'http://localhost:4723/wd/hub' 
driver = webdriver.Remote(command_executor=port, desired_capabilities={'automationName' : 'UiAutomator2','deviceName': 'samsung SM-G390F','platformName': 'Android',  'app': 'F:/AGTGA/APKS/Health.apk' , 'autoGrantPermissions' : 'true', 'appWaitActivity' : '*.*','fullreset' : 'false','noReset' : 'true' } ) 
 
time.sleep(2)
time.sleep(2) 
el = ElementFinder(driver, 84,729) 
el.click()
time.sleep(2) 
el = ElementFinder(driver, 112,1258) 
el.click()
time.sleep(2) 
el = ElementFinder(driver, 112,1161) 
el.click()
time.sleep(2) 
el = ElementFinder(driver, 112,78) 
el.click()
time.sleep(2) 
el = ElementFinder(driver, 223,1161) 
el.click()
time.sleep(2) 
el = ElementFinder(driver, 612,248) 
el.click()
time.sleep(2) 
el = ElementFinder(driver, 64,649) 
el.click()
Esempio n. 24
0
import time 
from appium import webdriver 
from appium.webdriver.common.touch_action import TouchAction  
from TestSuite.TestSuiteHelper import ElementFinder 
 
 
port = 'http://localhost:4723/wd/hub' 
driver = webdriver.Remote(command_executor=port, desired_capabilities={'automationName' : 'UiAutomator2','deviceName': 'samsung SM-G390F','platformName': 'Android',  'app': 'F:/AGTGA/APKS/Blocket.apk' , 'autoGrantPermissions' : 'true', 'appWaitActivity' : '*.*','fullreset' : 'false','noReset' : 'true' } ) 
 
time.sleep(2)
time.sleep(2) 
el = ElementFinder(driver, 304,446) 
el.click()
time.sleep(2) 
el = ElementFinder(driver, 0,48) 
el.click()
Esempio n. 25
0
driver = webdriver.Remote(command_executor=port,
                          desired_capabilities={
                              'automationName': 'UiAutomator2',
                              'deviceName': 'Moto G (5)',
                              'platformName': 'Android',
                              'app':
                              'C:/Users/ze0396/Desktop/AGTGA/APKS/posifon.apk',
                              'autoGrantPermissions': 'true',
                              'appWaitActivity': '*.*',
                              'fullreset': 'false',
                              'noReset': 'true'
                          })

time.sleep(2)
time.sleep(2)
el = ElementFinder(driver, 237, 1404)
el.click()
time.sleep(2)
el = ElementFinder(driver, 554, 115)
el.click()
time.sleep(2)
el = ElementFinder(driver, 0, 72)
el.click()
time.sleep(2)
el = ElementFinder(driver, 39, 900)
el.click()
time.sleep(2)
el = ElementFinder(driver, 39, 1144)
el.click()
driver.press_keycode(3)
driver.close_app()
Esempio n. 26
0
from appium.webdriver.common.touch_action import TouchAction
from TestSuite.TestSuiteHelper import ElementFinder

port = 'http://localhost:4723/wd/hub'
driver = webdriver.Remote(command_executor=port,
                          desired_capabilities={
                              'automationName': 'UiAutomator2',
                              'deviceName': 'Moto G (5)',
                              'platformName': 'Android',
                              'app':
                              'C:/Users/ze0396/Desktop/AGTGA/APKS/Nike.apk',
                              'autoGrantPermissions': 'true',
                              'appWaitActivity': '*.*',
                              'fullreset': 'false',
                              'noReset': 'true'
                          })

time.sleep(2)
time.sleep(2)
el = ElementFinder(driver, 0, 72)
el.click()
time.sleep(2)
el = ElementFinder(driver, 48, 762)
el.click()
time.sleep(2)
el = ElementFinder(driver, 321, 286)
el.click()
driver.press_keycode(3)
driver.close_app()
driver.quit()
print('TestCase finished successfully')
Esempio n. 27
0
driver = webdriver.Remote(command_executor=port,
                          desired_capabilities={
                              'automationName': 'UiAutomator2',
                              'deviceName': 'Moto G (5)',
                              'platformName': 'Android',
                              'app':
                              'C:/Users/ze0396/Desktop/AGTGA/APKS/Nike.apk',
                              'autoGrantPermissions': 'true',
                              'appWaitActivity': '*.*',
                              'fullreset': 'false',
                              'noReset': 'true'
                          })

time.sleep(2)
time.sleep(2)
el = ElementFinder(driver, 0, 408)
el.click()
time.sleep(2)
el = ElementFinder(driver, 0, 1250)
el.click()
time.sleep(2)
el = ElementFinder(driver, 0, 384)
el.click()
time.sleep(2)
el = ElementFinder(driver, 216, 123)
el.click()
time.sleep(2)
el = ElementFinder(driver, 0, 1602)
el.click()
time.sleep(2)
el = ElementFinder(driver, 834, 120)
Esempio n. 28
0
driver = webdriver.Remote(
    command_executor=port,
    desired_capabilities={
        'automationName': 'UiAutomator2',
        'deviceName': 'Moto G (5)',
        'platformName': 'Android',
        'app': 'C:/Users/ze0396/Desktop/AGTGA/APKS/LifeHack.apk',
        'autoGrantPermissions': 'true',
        'appWaitActivity': '*.*',
        'fullreset': 'false',
        'noReset': 'true'
    })

time.sleep(2)
time.sleep(2)
el = ElementFinder(driver, 66, 813)
el.click()
time.sleep(2)
el = ElementFinder(driver, 570, 1255)
el.click()
time.sleep(2)
el = ElementFinder(driver, 198, 370)
el.click()
time.sleep(2)
el = ElementFinder(driver, 161, 302)
el.click()
time.sleep(2)
el = ElementFinder(driver, 570, 1255)
el.click()
time.sleep(2)
el = ElementFinder(driver, 128, 511)
Esempio n. 29
0
import time
from appium import webdriver
from appium.webdriver.common.touch_action import TouchAction
from TestSuite.TestSuiteHelper import ElementFinder

port = 'http://localhost:4723/wd/hub'
driver = webdriver.Remote(command_executor=port,
                          desired_capabilities={
                              'automationName': 'UiAutomator2',
                              'deviceName': 'samsung SM-G390F',
                              'platformName': 'Android',
                              'app': 'F:/AGTGA/APKS/IKEA.apk',
                              'autoGrantPermissions': 'true',
                              'appWaitActivity': '*.*',
                              'fullreset': 'false',
                              'noReset': 'true'
                          })

time.sleep(2)
time.sleep(2)
el = ElementFinder(driver, 32, 508)
el.click()
time.sleep(2)
el = ElementFinder(driver, 424, 665)
el.click()
driver.press_keycode(3)
driver.close_app()
driver.quit()
print('TestCase finished successfully')
Esempio n. 30
0
from TestSuite.TestSuiteHelper import ElementFinder

port = 'http://localhost:4723/wd/hub'
driver = webdriver.Remote(
    command_executor=port,
    desired_capabilities={
        'automationName': 'UiAutomator2',
        'deviceName': 'Moto Z3 Play',
        'platformName': 'Android',
        'app': 'C:/Users/ze0396/Desktop/AGTGA/APKS/1weather.apk',
        'autoGrantPermissions': 'true',
        'appWaitActivity': '*.*',
        'fullreset': 'false',
        'noReset': 'true'
    })

time.sleep(2)
time.sleep(2)
el = ElementFinder(driver, 327, 1841)
el.click()
time.sleep(2)
el = ElementFinder(driver, 687, 849)
el.click()
time.sleep(2)
el = ElementFinder(driver, 38, 887)
el.click()
driver.back()
driver.press_keycode(3)
driver.close_app()
driver.quit()
print('TestCase finished successfully')