This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Invoke function from Mobile Text Field

I encounter a Mobile Test scenario like this:

When we input the Phone Number which the three first-digit are "628", it will automatically change to "0"

By manual testing, I can do the scenario but I cannot do the scenario with Silk Test ( I am using .NET script)

From the Mobile Text Field, the available methods to input data are SetText and TypeKeys. Both of them did the input of "628" but I failed to make it changes to "0" by the app.

I use Object Locator to check on the object but did not find the function that I can retrieve or invoke.

  • Suggested Answer

    0  

    Hi

    Have you tried entering the value at the device level?

    For example:

    • Click the MobileTextField so that it has input focus
    • Then try _desktop.MobileDevice("//MobileDevice").TypeKeys("value")

    If this does not work, consider opening a support case so that an engineer can have a closer look at the problem.

    Regards

    Robert