Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question Asked in CTS on QTP
Not Solved
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?
Not Solved
You can check if the window "Flight Reservation" exists. If it does not then just exist the test.
Sample test code
If NOT Window ("Flight Reservation").Exist(5) then
message = "dialog 'Flight resrvation' is not displayed after 5 seconds"
End If
Not Solved Question 
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.

Possibly Related Threads...
Thread Author Replies Views Last Post
  Few Interview Question asked in various Companies.. 1 1,120 08-08-2017, 09:24 AM
Last Post:
  qtp interview question-1 rvrbabu434 0 2,742 12-26-2011, 12:36 PM
Last Post: rvrbabu434
  qtp interview question rvrbabu434 3 2,680 12-25-2011, 11:13 PM
Last Post: chandan
  QTP setting related question prodipto 3 3,887 03-04-2011, 02:46 PM
Last Post: prodipto
  Question on QTP Support karanth 5 5,569 04-08-2008, 01:45 AM
Last Post: FredMan

Forum Jump:

Users browsing this thread: 1 Guest(s)