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
If you entered into yahoo mail with your valid user name
and password , then you will get  " welcome , username  "
(for example you will see , “welcome,   Krishna” ) text on
the top of the Inbox page , how can you test the user name
is correct or not using QTP?
 Question Submitted By :: Ramakrishnaqc
I also faced this Question!!     Rank Answer Posted By  
 
  Re: If you entered into yahoo mail with your valid user name and password , then you will get " welcome , username " (for example you will see , “welcome, Krishna” ) text on the top of the Inbox page , how can you test the user name is correct or not using QTP?
Answer
# 1
By using test area check point.
 
Is This Answer Correct ?    3 Yes 0 No
Krshna
 
  Re: If you entered into yahoo mail with your valid user name and password , then you will get " welcome , username " (for example you will see , “welcome, Krishna” ) text on the top of the Inbox page , how can you test the user name is correct or not using QTP?
Answer
# 2
yeah....

    you can use the getROProperty method to get that value.
later on compare that value with ur parameter.

for example:
   
   GetAppval = Browser("XXX").Page("XXX").WebElement("html
tag:=TD","index:=3").GetROProperty("innertext")

  getparam = Datatable.Value("name",dtGlobalSheet)

 If GetAppval = getparam then
    msgbox "pass"
Else
   msgbox "fail"
End If

   guys here i just given the logic to use. instead message
box use a reporter statement or if u r writing to exeternal
log use it. and i used data table for example, but many
people (including me) will use separate excel file for
parameterization. but this is the logic to check values.

Regards...
nanda.d reddy
 
Is This Answer Correct ?    0 Yes 0 No
Nanda
 
 
 
  Re: If you entered into yahoo mail with your valid user name and password , then you will get " welcome , username " (for example you will see , “welcome, Krishna” ) text on the top of the Inbox page , how can you test the user name is correct or not using QTP?
Answer
# 3
index is not a reliable way......if have entered valid
username & Password then u can check URL...or check Inbox
link is exist or not.....


Sandip
9714177088
 
Is This Answer Correct ?    0 Yes 0 No
Sandipgami84
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
how to create the varibles and how these are connect to qtp? plz tell me  2
While writing script using For Next Statement in QTP, I try defining the variable in Lib File I am getting syntax error whereas if I use the variable in script file, the script works fine. Can anyone help me in finding the reason behind this?. E:g Dim intStartRow (Define in Lib File----- say abc.vbs) Dim intRow (If I define this variable in Lib file I am getting Syntax error where as if I define in the script file ---- say xyz.mts the script works fine) IntStartRow=2 For intRow = intStartRow to xlWrksht.UsedRange.Rows.Count ‘Some Code here Next  1
Hi,iam new to automation and i have 1 year experience in manual testing.I have a little bit idea about QTP9.0 .But i have no idea about script writing using VB.Please help to learn script writing.  1
What exactly is the difference among all the three recording modes. Accenture5
how can u find the syntax errors or other script errors in your test during the execution of your QTP Test - (i.e., not after the execution/test run finished, but before finishing the test run) HCL1
a title of first page is "LKO- microsoft internet explorer", of the second page is "PPM- microsoft internet explorer" , of Third page is "TTS- microsoft internet explorer" and same changing title on the fourth page. How can we use regular expression for this feature what should we do on script part on and Object repository part so that we can get successful run result. Kindly explain the steps script.  2
Among all the check points what is the most important checkpoint? Semantic-Space5
Can we do Load Testing with QTP?  4
what is meant by keyword driven frame work can any one answer plzzzzzzzzzzz  1
How QTP recognize the object??how to add objcts into object repository??  1
What u say as experience(Interview) "TELL ME ABOUT UR SELf"? As a Fresher(interview) What u Say? ShopRite2
How to handle Run-time errors?  2
explain virtual object? in detailed? pls any one explain me? Cap-Gemini2
In key word driven framework,we will rename the logical names of objects,why? Liquid-Hub3
in a database table there are 3 columns (name , marks,grade) , in application after retrieving data from db to fields name, marks click ok button then grade should displayed ---for this how to write vb script prgm IBM3
what is memory leakage? ITC-Infotech10
Where u will use output checkpoint in QTP?  3
how do u retrieve data from a database ? i.e. i want to retrieve 2nd record only from a database ? write code for this. by using ADODB connecton, RSOBJ and using a FOR loop we can retrieve all the records( ex: if we give query as select * from emp). but i want only 2nd record. so how to acheive this. Accenture2
New to QTP: In a qtp flight booking application, I tried to parameterize the to and from drop down lists using data table, depending on ur drop down selection it will pop up a list of flights. Here I am not finding a way to select flight randomly from given list... Thanks in advance guys.  1
WHAT IS THE FRAMEWORK & ARCHITECTURE OF YOUR PROJECT Wipro2
 
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