Mobile QA Zone

A Mobile Application Testing Community

step by step procedure on how to do automation testing by using MT

Views: 235

Comment

You need to be a member of Mobile QA Zone to add comments!

Join Mobile QA Zone

Comment by hunza basharat on March 11, 2014 at 11:20am

@ramakrishna  plz check the out put of the script.

Comment by hunza basharat on March 10, 2014 at 3:39pm

Thanks alot for your response, please find the result of the script below:

"

15:05:20.383: Connected to Device: iOS Simulator

15:05:47.675: Connected to MonkeyTalk: iOS agent(1.0.62_86 - 2013-10-31 13:06:16 MDT)

15:06:04.788: Started Script Playback

15:06:04.794: PlaceholderUITextField "PS ID" Tap

15:06:05.046: PlaceholderUITextField "PS ID" EnterText hanj

15:06:05.754: PlaceholderUITextField Password Tap

15:06:06.264: Button Login Tap

15:06:06.790: Label #2 Verify “Password can not be empty” %thinktime=8000

15:06:16.897: FAILURE: "can" is not a valid MonkeyTalk property for Label (prefix property arg with . to use internal keypaths) or ""can" is not a valid MonkeyTalk property for Label (prefix property arg with . to use internal keypaths)": not

15:06:17.087: Completed Script Playback - FAILURE "can" is not a valid MonkeyTalk property for Label (prefix property arg with . to use internal keypaths) or ""can" is not a valid MonkeyTalk property for Label (prefix property arg with . to use internal keypaths)": not"

Comment by ramakrishna on March 10, 2014 at 12:53pm

Label #2 Verify “Password can not be empty” %thinktime=8000

Button "OK" Tap %thinktime=5000

once check above commands.

Comment by hunza basharat on March 10, 2014 at 12:23pm

@Ramakrishna plz find the attached screen shot

Comment by hunza basharat on March 10, 2014 at 12:20pm

@ramakrishna

"PlaceholderUITextField "PS ID" Tap

PlaceholderUITextField "PS ID" EnterText hanj

PlaceholderUITextField Password Tap

Button Login Tap

Table "Empty list" Select OK"

This is the monkeytalk script generated when I record this scenario. "Table "Empty list" Select OK" This line shows the popup window, I am tapping OK from popup winodw that display on incorrect login

Comment by ramakrishna on March 7, 2014 at 2:31pm

please provide screen shot @hunza basharat

Comment by hunza basharat on March 7, 2014 at 1:45pm

@ramakrishna  thanks for reply, here is the scenario

I want to test the error message that display when user enter invalid credentials at the login screen of the application, I want to re-use that error situation in a conditional statement. The popup is system generated.

Comment by ramakrishna on March 7, 2014 at 12:15pm

System generated popup means.....u want to test alert view...@hunza

Comment by hunza basharat on March 7, 2014 at 12:06pm

hey,

How to record system generated popup window in iPhone using MT?

Comment by hunza basharat on March 6, 2014 at 5:59pm

hey,

How to record system generated popup window in iPhone using MT?

© 2014   Created by Anurag Khode.

Badges  |  Report an Issue  |  Terms of Service

Welcome to Mobile QA Zone, a Next Generation Software Testing Community.Invite your friends to join this community.Write to us to become a featured member.