Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question Asked in CTS on QTP
#1
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?
Reply
#2
Not Solved
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
Reply
#3
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Few Interview Question asked in various Companies.. shailesh.2.singh@bt.com 1 3,418 08-08-2017, 09:24 AM
Last Post: mallika199317@gmail.com
  qtp interview question-1 rvrbabu434 0 3,628 12-26-2011, 12:36 PM
Last Post: rvrbabu434
  qtp interview question rvrbabu434 3 4,106 12-25-2011, 11:13 PM
Last Post: chandan
  QTP setting related question prodipto 3 5,107 03-04-2011, 02:46 PM
Last Post: prodipto
  Question on QTP Support karanth 5 7,533 04-08-2008, 01:45 AM
Last Post: FredMan

Forum Jump:


Users browsing this thread: 1 Guest(s)