ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
i am entering wrong data or wrong password in a text box and
click on submit button .i am getting a popup window with a
message Please enter the correct password or data .How can i
handle this situation by using QTP.
 Question Submitted By :: Sasmita.singh
I also faced this Question!!     Rank Answer Posted By  
 
  Re: i am entering wrong data or wrong password in a text box and click on submit button .i am getting a popup window with a message Please enter the correct password or data .How can i handle this situation by using QTP.
Answer
# 1
if there is a pop up message then u just add it to ur 
object repository & make the qtp to click on the ok 
button..you make this as a function & validate ur login 
page as  many time as you wantn call ur function
 
Is This Answer Correct ?    1 Yes 3 No
Akshar Jain
 
  Re: i am entering wrong data or wrong password in a text box and click on submit button .i am getting a popup window with a message Please enter the correct password or data .How can i handle this situation by using QTP.
Answer
# 2
Hi Friend

           You can go through the "Recovery Scenario" for
this kind of problem. Steps are..in QTP 9.2

Resources-> Recovery Scenario Manager-> click on first image
that is with right side of "Scenarios"(only the enabled
image)text-> read the content and "Next"-> these are the
condition wherever we use Recovery Scenarios select one of
them according wat type of error you have(pop up
window)->"Next"->Click on "Hand" pointer and capture the
popup window and "Next"->"Next"->Select the event you want
to perform "next"->"Next"-> From Recovery operation window
un select the check box and "next"-> "next->"next"-> Write
some description or not(optional)->"next"-"Finish"->"Save"
in your destination.

         Now you can use that in your script. 

Have a look(softestonline-neeraj043.blogspot.com)
 
Is This Answer Correct ?    4 Yes 1 No
Neeraj
 
 
 
  Re: i am entering wrong data or wrong password in a text box and click on submit button .i am getting a popup window with a message Please enter the correct password or data .How can i handle this situation by using QTP.
Answer
# 3
Suppose the same pop window generated while running test 
case and while recording it was not generated & values were 
properly inserted. What procedure is require please explain 
with details? 

alkaa.dugaal@gmail.com
 
Is This Answer Correct ?    0 Yes 2 No
Less Than You
 
  Re: i am entering wrong data or wrong password in a text box and click on submit button .i am getting a popup window with a message Please enter the correct password or data .How can i handle this situation by using QTP.
Answer
# 4
Dear Alkaa,
     i am just describing the scenario.
1.Open gmail/yahoo or any site.
2.Enter your valid userid and invalid password.
3.We can see a pop-up window with a message "Please enter
the correct password or Password invalid "  
even i know the right scenario
4.But i just wanna know how to capture the pop-up window.

Thanks,
Sasmita
 
Is This Answer Correct ?    1 Yes 1 No
Sasmita
 
  Re: i am entering wrong data or wrong password in a text box and click on submit button .i am getting a popup window with a message Please enter the correct password or data .How can i handle this situation by using QTP.
Answer
# 5
Identify this pop up and buttons on this pop up as an object
and add it in repository. Now use MouseMove function to move
mouse pointer over this pop up and click on "Yes" or "No"
button according to your requirement.

Note:- I am assuming that pop up is a type of window object
 
Is This Answer Correct ?    1 Yes 1 No
Zahid
 
  Re: i am entering wrong data or wrong password in a text box and click on submit button .i am getting a popup window with a message Please enter the correct password or data .How can i handle this situation by using QTP.
Answer
# 6
Hi Sashmita,

Thank you for your efforts, but my concern is just opposite 
of the given question. We know that entering invalid info 
will obviously invoke a pop up. but in my case when I am 
inserting correct/valid information in all fields while 
recording (www.propertiesthisweek.com-->New Registration 
Now) and during run time, it generates pop "Please select 
the profile" for Profile type. Now I hope you it would be 
clear to you.
 
Is This Answer Correct ?    0 Yes 3 No
Less Than You
 
  Re: i am entering wrong data or wrong password in a text box and click on submit button .i am getting a popup window with a message Please enter the correct password or data .How can i handle this situation by using QTP.
Answer
# 7
Hi all,
I have read all the answers.
By using recovery scenario we can just click ok button on 
the pop up window.
If we want to enter in to the application ,I think even 
recovery wont help it.
If the question is about validation then validate the 
username and password by if else statement for Pop up 
existence.
If not the data must be correct
 
Is This Answer Correct ?    1 Yes 1 No
Dimple
 
  Re: i am entering wrong data or wrong password in a text box and click on submit button .i am getting a popup window with a message Please enter the correct password or data .How can i handle this situation by using QTP.
Answer
# 8
When ever u got the popup window you can make it that 
ststement as optional.When ever you make it optional if the 
popupwindow appears it will take care other wise move to 
next step.
 
Is This Answer Correct ?    1 Yes 1 No
Ajay
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
How do we Access, retriew and edit the runtime objects in Automation Testing using QTP IBM3
Definationions for keyword view and tree view?  1
Give me exact application where we should use low level recording? CTS5
Does QTP support flat files? If yes what are those?  2
Tell me the QTP Advantages and Disadvatages ?  1
how can we group that these test cases only should be automated and in which order you execute that test cases? BSL2
How To write script in QTP For Field Validation Example: password Field is accepting A range 8-20 characters only.How to write script?  3
if the excel sheet specified in script is not there,we get run time error how to handle the error ,please anybody explain me in detail Quinnox1
In 1st screen,if v enter a/c no. in one field, the information of the subscriber will be displayed. The details should be displayed only in screen 3(NOTE:details should not display in screen 2).How can v do using QTP. BirlaSoft2
We have an application which generates links( more than thousand) based on the time stamp dynmically.Each link will download an xls file. we are supposed to click a particular link (which link to click will be obtained thru some buisiness logic).Now the issue is QTP is not recogniging the link(say Var1) though its properties showed mandatory fields text=xyz and html tag=A.I used following code to do this. Browser("ABC").Page("123").Link("text:=" &Var1,"html tag:=A").click, can any one suggest why this is not recognised by QTP though syntax is correct?(Is there any sync issue to be considered?Because on clicking the link it will take 5 mins to open that file)  2
How to change the screen name while running the test. TCS3
I m new to QTP? Is it necessary to know VB for learning QTP for Automation? Can I understand QTP excellently Without practical automation?  2
take one exmple and write on that discriptive programe in qtp?  1
How to find the number the number of Links, Brolken Links in a webpage? Ordain-Solutions3
In QTP , Test Director combination . what is the role of Test Director? How QTP Launching QTP in T.D ? If it is Winrunner possible. but QTP How it is possible? TCS1
what is Compile Module in QTP? what exactly it contains Functions or Actions? GE2
Are You using any frame work? What is that? Explain about that. Wipro4
How can i learn Descriptive programming in QTP. Please reply.  3
What does VBS file contain...??? what is VBS file.. ??? GE6
Can we directly automate testscripts accrdoing to requirements Novartis2
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com