Hi ZAPTEST Team,
Your are doing very very well job. I hope you will continue this practice.
I have now two questions:-
Question-1:-
How we can clear the field like i have a login screen in which i have two fields like username and password. I am testing along with different scenarios. i need to clear both two fields otherwise when test case is run, it is not cleared the old field data. See Below Code:
Application(“Application”).View(“View 4”).Object(“User Name”).ClickRow Datable.Value(“UserName”)
Application(“Application”).View(“View 4”).CaptureBitmap
Wait 6
Application(“Application”).View(“View 4”).Object(“Image Object 6”).Click
Application(“Application”).View(“View 4”).Object(“Image Object 6”).Type (“August2017”)
Question-2:-
I am using IF condition what is the way to check the value in the field and ‘null’ check.
and how to erase a field. See Below Code:
If Application(“Login “).View(“View”).Object(“user Name”).Exist then
Application(“Login “).View(“View”).Object(“user Name”).TypeDatatable.Value(“UserName”)