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   To Refer this Site to Your Friends   Click Here
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 2 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 ?    3 Yes 0 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 1 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 0 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 0 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 1 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 0 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 0 No
Ajay
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
tell me about framework types and most used framework in real time. types of output value in details. diff between wr and qtp in detail.  2
what is descriptive.create()in qtp? IBM2
How can we disable popup blocker? (I think it means when we get a pop up messge(its error) how we wil disable that one with out interrupting normal process)  5
what is the difference between invoke application and system.util.run Syntel17
What are the various versions of QTP that have been released so far? Please also mention the year of release for each version  2
anyone can explain about "Smart Identification" in QTP I mean what is the use of "Smart Identification" Give an example  2
what are the different Frame Works in Quick Test Proffessional testing Wipro2
How do you test siebel application using qtp?  1
Hi guys i'm prepareing for interview question for qtp i don't have bayground for vb scipt language can any one tell me it is easy to do job in qtp without bayground.  3
how you update scripts in qtp?  1
how can i pass parameters into function? Livetek3
Explain me in deatail about DATADRIVEN framework including scripts ?(realtimes plz)(Chandana) Wipro3
Explain script generated after applying database check point?  2
how to do regression testing in qtp? plz give ans with examples TCS3
will QTP 9.2 run successfully on Linux(gui) operating system  1
Give me exact application where we should use low level recording? CTS5
What is object & properties (in QTP) Ordain-Solutions5
What is Virtual object wizard in QTP?  3
When there is descriptive programming, why do we go for Object repository for desigining scripts.?? why cant we use descriptive programming instead of using the Object repository..?? DST-Global-Solutions2
how to write testcases for web based insurance,from the script by using qtp.  1
 
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