An Appium server error occurred: Failed to create a new session
Hello. I'm making the first attempt for a mobile test. SoI'm studying Smartbear's Academy course - TestComplete Mobile Automation Engineer. I try to run the sample file while watching the video, but I can't access the Appium Server due to the following error. (For your information, I downloaded the sample file from the site below. https://support.smartbear.com/testcomplete/downloads/samples/) Please Help me.. My Appium Server Information in TestCompleteSolved4.4KViews0likes9CommentsKeys method does not input the entire string
I am able to use the method: on_screen_element.keys("1234567890"); Most of the time, with smaller strings, this correctly simulates pressing each key in the string. With strings that are generally 'longer' such as the example, the output ends up being: 134567890 This ends up completely missing the 2nd element of the string consistently. When checking the logs, it states: The keystrokes '1234567890' were sent to the control. I have attempted to resolve this issue by doing: for (letter in string) on_screen_element.keys(letter); This results in the same issue. Any help would be greatly appreciated! Thank you all in advance.Solved1.6KViews0likes9CommentsMobile testing
Hi team, 1) I am doing mobile web testing using emulators. It is opening as a "smartbear test extension" started debugging this browser. Here i need to set a resolution based on the mobile we are selecting. So, i need to set a resolution over there. >>refer the below code, function main(){ VirtualBrowsers.Item("iPad").Run(); var mblPage=VirtualBrowsers.CurrentBrowser.Navigate("https://www.smartbear.com/"); var element=mblPage.FindElement("xpath"); element.click(); } >>Here need to set resolution over there as width (768) and height (1024) 2) I tried to click over an element in that page but it throws error as TypeError: cannot read property "FindElement" of undefined Could any one helpme regarding this issue??Solved1.5KViews0likes14CommentsName Mapping
Hi there , Currently I'm testing mobile application using test complete and I'm facing some issues while mapping the objects because object's properties keep changing which makes the project fails in some tests . I found the below sentence in an article for smartbear (Reference added below ) : TestComplete offers aName Mappingfeature that allows you to create unique names for processes, windows, controls and other objects. It makes your object names and tests clearer and easier to understand, as well as, independent of all object properties and less prone to errors if the UI changes. This feature allows you to test your application successfully even in the early stages of the applications life cycle when the GUI changes often. I'm wondering what is actually that feature they are talking about ? Thanks , Reference to the article : https://smartbear.com/learn/automated-testing/best-practices-for-automation/1.3KViews0likes6CommentsMultifactor Authentication with Test Complete
Hi there, Would like to know if Test complete will allow validation of Mobile application where MFA is crucial. Use case: Customer enter their details like Name, DOB and their registered mobile number for logging to the mobile app. SMS will be triggered to the mobile. User should enter SMS to login to the application. Appreciate your update. Thanks, Reddy.1.2KViews0likes2Comments"Failed to access the WebView content"
I'm trying to produce test scripts for physical device on TestComplete. This is connected to via a local Appium server and i am able to select objects from the home screen on the device. When opening applications on the device (installed via a company managed Google Play store), I've tried to use the Object spy on the device and i'm getting the following error - the Object spy doesn't find any elements: Please can i have some help with this?1.2KViews0likes8CommentsDynamic Page localhost
I'm automating the mobile application using Record and Play and I observe that I encountered an error every time I rerun the application. I always got an error The object "formMiddle_Name_" does not exist. Upon investigation I observe that every time I run the application, the number in page local host was changing(Please see the red font of the object) This is my actual Object: Aliases.Device.Process_allianzpnblife_azjourney.RootLayout.WebView_orgapachecordovaengineSystem.Page_localhostcreateeditlead9bad9.formMiddle_Name_.formMiddle_Name_ Please help me to solve this problem. Thank you!1.2KViews0likes4CommentsHelp with instructions on instrumenting legacy Android app
Windows 10 TestComplete 15.20.341.7 x64 Connected device running Android 7.1.1 Android Studio 3.3.1 I'm able to run the app I'd like to develop automated tests for. SmartBear's pages says that the app should automatically be instrumented when run, but it doesn't look that way due to 2 factors: 1) The Object Browser for the app is empty 2) When I try to use Object Spy while the app is running, it just appears as one, large, singular item. It can't pick up any individual elements like buttons and boxes of text This version of TC no longer has the Instrument button in the TestedApps tab view, so I'm going with the page below to attempt to instrument the (legacy) Android app... https://support.smartbear.com/testcomplete/docs/app-testing/mobile/legacy/android/preparing/instrumenting-apps/android-studio.html?sbsearch=Instrument%20Android%20Application ... for the Preparation Steps (beginning), step #1-1.. Open your Android project in Android Studio... I've tried selecting the android app (APK) where it is on my computer, and the directory of the project suite for where TestComplete stores it. I'm not getting a directory by the name of "app\libs". Only "libs", and I certainly don't see the PatchServices.jar file there.1.2KViews0likes6CommentsModifying Test Complete Project Properties from script
Hi! I've came across a specific issue. I'd like to know if it's possible to modify Current Project Properties directly from the script. I would like to have PlayBack -> OnError property value (from Stop current item to Stop and rerun current item) to be configurable.Is there any specific way to do so? Another thing is that currently even a manual project property change from GUI directly affects the .mds file since its added to git repository. Is there some nifty way to avoid it? I don't want to commit any changes by mistake. Maybe switching from Current Project Properties to Global? Is that the way to go? If so, how can I accomplish that?1.2KViews0likes6Comments