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   SiteMap shows list of All Categories in this site.
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
 
What kind of errors can b handled in QTP in real time scenario?  1
Hoe to generate all numbers in between to numbers suppose all numbers in between 1 to 100 using vbscript give me code  1
How to export data present in Datatable to an ".xls" file?  1
What is the differnce between action & script Lehman-Brothers2
Among all the check points what is the most important checkpoint? Semantic-Space5
how we will use output values in qtp? is there any possibulity by descriptive programming?  2
Hi All, What is an XML Checkpoint in QTP? How can i use it while testing a web application? Kindly explain in detail. Thanks in advance  2
any one can explain about QTP proocess,means where to start and how to start Scripting.  3
hi, i was adding the two numbers in qtp scripts but i didn't get the answer. see my below script, i dont know wht is the problem. i passed the value a=3 b= 2, i got the ans 32 instead of 5. i thing the problem is to be c = a+b my mail id karthis4u@gmail.com Dim a, b, c a = inputbox("enter the a ") b = inputbox("enter the b ") c = a + b print c  5
How to Synchronize the Browser at Field level? For example if you put Browser.sync(), its waiting upto for that Browser sync only. It should wait total Browser get upload with fields. IBM3
How to use custom checkpoints in QuickTest Professional? TCS1
i have a window , initial its name is "NEW CUSTOMER" i have to enter the details of customer in the test object fields and after saving the window name is automatically changing with the customer name . so how to identify that window after saving. (i am using descriptive programming.) Syntel3
hi all, I have installed QTP successfully on windows vista. I am able to record and run on windows applications, but facing problem with web applications. While recording, I am able to open the web application, but when I click on any object or give login name and password, the events are not getting recorded in QTP. Could anyone solve the problem. Any settings to be done for web applications other than selecting web-addin? Waiting for replies. Thanks in advance.  2
After running scripts how you report results ,there is any specific report form  1
How can we close all webbrowsers which are opened in out desctop?  4
What is the dis advantage of check points in QTP, if any? BirlaSoft3
can somebody send the script to write a multiplication table in notepad through qtp AppLabs2
What r the advantages of automation?  3
What are Add-ins availble in licensed version QTP8.2 TCS1
How can i select multiple items from a WebList bOX USING QTP Syntel3
 
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