Contributions
Bitbar device capabilities
In trial mode for Bitbar, trying to run existing test from TestComplete. My test runs ok when using physical device attached to USB et local Appium server on my laptop. I have configured my bitbar key and I am able to Spy a device from TestComplete. Using different set of capabilities, I want to run my existing test from TestComplete on any trial device that is available. From where I am, it takes approximatly 2.5 minutes to start the device (bitbar) and my uploaded app (on bitbar). Chances are If i specify a device, it is no longer available by the time the test actuallay runs. Is there a capability to specifiy "bitbar_device: Any Android"? my current bitbar capabilities: Project.Variables.capabilities := '{"appPackage": "com.blah.pjc"' + ',"bitbar_apiKey" : "blah"' + //',"bitbar_device" : "Google Pixel 6 5G -US"' + ',"bitbar_device": "Dell Venue 8 7840 -US"' + ',"bitbar_app": "com.pjc.mobile.apk"' + ',"automationName": "Appium"' + ',"deviceName": "Android Phone"' + ',"platformName": "Android"' + ',"bitbar_testrun": "' + ProjectSuite.Variables.ThisRun +'"' + ',"bitbar_project": "bitbar1-appium"' + '}';2 years agoPlace BitBar QuestionsBitBar Questions553Views0likes0CommentsRe: FindElementbyXpath times out and TC ends in error - object not found
Thank you Alex, I have tried a "work arround" and "WaitElementByXpath" does return the expected EmptyObject with .Exists set to false. I will use this method instead. In order to help others via documentation,I will also open a ticket.442Views2likes0CommentsFindElementbyXpath times out and TC ends in error - object not found
I run a mobile app on physical Android device connected (via usb) to my laptop using a local Appium server. At one point (after executing a few interactions with the mobile app), I try to find an element by xpath. The element is not on screen at the time of the search. I was expecting the findElementByxPath to return an empty object with the .Exists property. It is not the case and the tests stops with the message: "Unable to find an element that matches the specified 'xpath' selector strategy and value '//*[contains(@text, "Professionnal")]" My next step was to swipe up the screen if the object.Exists returns false. Any suggestions as to why ".FindElementByXPath('//*[contains(@text, "' + findThisText + '")]');" makes the tests to stop instead of returning an empty stub (empty object with .Exists property)? The same find by xpath works ok for a string which is on screen at the time of the search. I am running TC 15.40 Android 9.1.0 on Huawei P20463Views0likes2CommentsRe: Start Appium mobile test without reinstalling the app
Thank you hkim5, Tried previously, obviously something was not ok at that time. The setup is currently not well known by myself. All from the laptop and physical device. I need to learn the sequencing: Plugin device Allow file transfer on device Start Fiddler (need to redirect app traffic to work office) start Appium Start Session (appium) Run test from TC! Last attempt work after removing "App" capability. It did restart the my app, but I am guess this is related to Mobile.Connect... I continue from here.1.8KViews1like0CommentsStart Appium mobile test without reinstalling the app
Hello, New to Appium mobile testing (try to migrate from legacy mobile testing:-). How do we run a mobile test without re-installing the mobile app each time. Current situation: our app has different behavior on first opening, then need to authorize device acces (photo, position...). I want to run tests using an already running app (appium session). I have tried with capabilities, but did not get it working yet. Here are my Android capabilities (Physical Android device connected USB to local Laptop, running Appium server locally also). var capabilities = { "app": "c:\\TC\\Android\\MyApp\\myCie-5.2.40118.2_Emulator.apk", "appPackage": "com.myCie.pjc", "appActivity" : "myCie.views.pages.root.RootPage", "noReset" : "true", "fullReset" : "false", "automationName": "UiAutomator2", "deviceName": "Huawei P20", "newCommandTimeout": "600", "platformName": "Android", "udid": "xpnxxnppxnx" };Solved1.9KViews0likes3CommentsRe: Android app not responsive to mouse click
Hi Sonya, I am still waiting for internal authorization to U/L my app for diagnostic. The issue is still in place. The app development is done externally. If I had the code, I could probably supply a mini version to reproduce the issue. At this time, I unfortunatly don't have a time frame yet. I will do my best to get back to this post with more info in regards to cause/fix. Thanks1.5KViews2likes0CommentsRe: Android app not responsive to mouse click
Hi Alex, With our current app, I know that a higher level of librairies are redefined for our app. Something like the "io" librairie containing pretty much all object types (checkboxes, droplists...). With TestComplete I could extend Androids checkbox with a descendant of it, but ours were redified at an higher level. That being mentionned, I can spy the objects all the way down to the required buttons and controls. I can see the avaible methods and "Touch" is one of them, but it does not respond. I am trying to get internal authorization to send our app to support or maybe have a small build containing juste enough code to reproduce the issue. Our app requires a dev server which is not available from outside our offices. Thanks1.7KViews1like3CommentsRe: Android app not responsive to mouse click
Hi Alex, The click is my workaround attempt! My scripts always uses Touch, Keys or SetText. Since the scripts are not working, I tried manually interacting with the App via "Show Mobile Screen". I can pretty much do anything on the device except in our app (maintained by external dev team). Thanks1.7KViews0likes5CommentsRe: Android app not responsive to mouse click
Hi Alex, I did open a case in late december. In order to investigate, support wants to get the app which won't work outside our building because it needs to interact with our server. I was hoping someone else had seen this behavior and might share what they did to resolve the situation. Thanks1.7KViews0likes7Comments