Please ensure to include your code between [code][/code] tags while asking or replying to questions.

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Question Asked in CTS on QTP

03-31-2008, 09:41 AM
Post: #1
Not Solved Question Asked in CTS on QTP

Hi friends,
This is Asif, following question is asked on QTP at CTS,pls give the answer if any body knows it.
If am entering valid user name and valid pwd in the login screen of flight reservation,then Flight Reservation window is not opening,at this time how ur going to validate data(test data) using QTP?
Find all posts by this user
Quote this message in a reply
03-31-2008, 12:10 PM
Post: #2
Not Solved RE: Question Asked in CTS on QTP
You can check if the window "Flight Reservation" exists. If it does not then just exist the test.
Sample test code
Code:
If NOT Window ("Flight Reservation").Exist(5) then
message = "dialog 'Flight resrvation' is not displayed after 5 seconds"
exittest(micFail)
End If
Find all posts by this user
Quote this message in a reply
04-01-2008, 01:55 AM
Post: #3
Not Solved Question RE: Question Asked in CTS on QTP
I think the question is not properly phrased. Please re-phrase the question.
If this is what you are trying to say, then that makes no sense.
When you know that the data given is correct and still the application is not being displayed, then a defect should be logged saying that the authentication part is not working. If you want to validate the data, validate it before entering it in QTP and then run the script.

Regards,
Shravan Gaddam
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  qtp interview question-1 rvrbabu434 0 1,734 12-26-2011 12:36 PM
Last Post: rvrbabu434
  qtp interview question rvrbabu434 3 1,781 12-25-2011 11:13 PM
Last Post: chandan
  QTP setting related question prodipto 3 2,607 03-04-2011 02:46 PM
Last Post: prodipto
  Question on QTP Support karanth 5 3,893 04-08-2008 01:45 AM
Last Post: FredMan



User(s) browsing this thread: 2 Guest(s)