Contributions
Can we automate dialing USSD code & verification of its response in Android mobile using TestComplet
Can we automate dialing USSD code & verification of its response in Android mobile using TestComplete? We're automating telco service provider usecases where we'd need to validate the USSD code and its responses (for the sim inserted into the android mobile).Solved2KViews0likes2CommentsEvent Handler - OnStartTest for tag expression
Event Handler - OnStartTest for tag expression As per the testcomplete documentation, while running tag-based execution, each functions that are tagged will be considered as a testcase. Hence My expectation was "OnStartTest" event would be triggered for each function that contains the same tag. But the behaviour is "OnStartTest" is invoked only once (in the beginning of the tag). Kindly help to understand if I'm missing anything else.Solved958Views0likes1CommentRe: capturing entire page
Hi Alex, Yes, The page was fully loaded. It is a new customer registration form (CRM) where I've filled up all the values and before submitting the form, want to capture the entire page screenshot. Dim uMobile, CustomerPanel Set uMobile = Aliases.browser.pageUmobile3 v1 = GetIDType(getDicValue("IdType")) Log.Message(v1) Call uMobile.Panel(1).TextNode(v1).WaitProperty("VisibleOnScreen", True, 2000) Call uMobile.Panel(1).TextNode(v1).Click() ... ... <code to fill the new customer registration form> ... ... ... 'Click on ok button Call uMobile.Panel(23).Panel(1).Panel(0).Panel(0).Panel(2).Panel(0).Button(1).Click() Delay 1000 set nxtbtn = customerForm.Form(1).Panel(1).Panel(0).Panel(0).Panel(0).Panel(0).Button(1) ' Take screenshot of the full form before submitting screenshotPath = ExtentManager.TakeFullScreenshot(uMobile) Call ExtentManager.passTestWithScreenshot(Project.Variables.CURRENTTCID , Project.Variables.CURRENTTCDESC, screenshotPath) 'Click "Next" button on the customer registration form Status = SafeClick(nxtbtn, 500, "Next button not found in the e registration form") If Not Status Then NewRegistration_Dealer = Status Exit Function End If 'click on Next Call customerForm.Form(1).Panel(1).Panel(0).Panel(0).Panel(0).Panel(0).Button(1).Click()1.2KViews0likes1CommentRe: capturing entire page
I'm getting blank page while using page.PagePicture method. Kindly help. Function TakeFullScreenshot(page) Dim screenshot screenshot = Project.Variables.REPORTPATH&"\\" & aqConvert.DateTimeToFormatStr(aqDateTime.Now(), "%m%d%Y_%H%M%S") & ".jpg" page.PagePicture().SaveToFile screenshot TakeFullScreenshot = screenshot End Function1.2KViews0likes3CommentsUnable to identify android app or any objects in it, even after instrumentation of apk.
My problem is quite weird. I have successfully created automation script for the same APK few weeks back. and ran the scripts with the same version of APK and mobile phone for multiple times in "TestComplete Trial version" After procuring the license, have tried to execute the same scripts (after re-instrumentation), it is giving error as couldn't find the object. (Launching of the apk is successful) TestComplete even hang, When I try to open "NameMapping-Highlight" or "Object Browser" or "Object Spy" or "Add Object". But I'm still able to run another APK (another app under test) with no such hassles using testcomplete. Couldn't figure out the issue. Kindly help.776Views0likes0CommentsCan we capture Page Weight (in KB) on every page load in TestComplete
Can we capture Page Weight (in KB) on every page load in TestComplete, similar to BrowserMobProxy in Selenium or YSlow add on. Basically need to access the Network information to get the page weight and page load time.Solved1KViews0likes2Comments