Posts: 1
Threads: 1
Joined: Sep 2009
Reputation:
0
09-18-2009, 08:19 PM
I have a problem here.In my application i have a user info form.The user is supposed to enter the mandatory fields and then click on Submit.Now when i try to record this scenario,when i click on the Submit Image,the application jsut doesnt move forward.it is suppose to take me to the next page when i click on Submit.However,when i play back the script,on clickign submit it takes me to the next page.I need to record some validation errors which are shown to the user on lcicking submit.What should i do?The
Submit is a image and the object is identified by QTP.Please helpp!!!Thank u so much
Posts: 19
Threads: 5
Joined: Aug 2009
Reputation:
0
09-19-2009, 04:13 PM
Hi neha,
Can you please attach the screenshot of object spy and the submit button page.
Thanks,
Azeem
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
09-21-2009, 11:06 AM
Neha -
Is the application open before QTP ?? Are there multiple instances of the application open ?? What type of recording are you performing ??
Ironically, You say that playback clicks and takes it forth but not recording ? If so, is QTP recording the click on the Submit ??
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Posts: 1
Threads: 0
Joined: Sep 2009
Reputation:
0
09-30-2009, 12:44 AM
hi, validation messages are in the form of pop-up or text messages, i am also automating validation error messages but unable to do it, pop-up error messages you can capture the pop-up and put it in the test results sheet during runtime that way user will know the error he got when he ran the script, thanks
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
09-30-2009, 11:21 AM
Is Smita, neha all the same ?? I am confused here with the original intent or a hijack.
Eithercase, Can you spy on the Pop-up messages ? If yes, then you can store those objects into the OR and use the Getroproperty to find the valdiation messages.
This is a superficial understanding. A better explanation of your GUI with screenshots will be more helpful.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.