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?

Answers were Sorted based on User's Feedback



If you entered into yahoo mail with your valid user name and password , then you will get " w..

Answer / krshna

By using test area check point.

Is This Answer Correct ?    3 Yes 1 No

If you entered into yahoo mail with your valid user name and password , then you will get " w..

Answer / nanda

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 ?    1 Yes 0 No

If you entered into yahoo mail with your valid user name and password , then you will get " w..

Answer / sandipgami84

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 2 No

Post New Answer

More QTP Interview Questions

Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?

0 Answers   IBM,


can we test an windows application using qtp

1 Answers  


What are accessibility check point and xml check point?

5 Answers   IBM,


How to load a object repository in QTP during runtime?

2 Answers   BNP Paribas, Virtusa,


any body want to learn qtp with real time concept on Banking domain contact ciraaj@gmail.com

1 Answers  






can any one tel ,using simple string a[0]=I a[1]=N a[2]=D like that it go's . . out put i need INDIA help me it's really need full ..

3 Answers   Mind Tree,


How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)

0 Answers   TCS,


What is the syntax to call one script from another?

0 Answers  


How does QTP identifies the object in the application Mainly objectives are three type's OF PROPERTIES namely

3 Answers  


How to create frame work for qtp?

1 Answers   Bank Of America, Polaris,


How many types of Actions are there in QTP?

6 Answers   Wells Fargo,


what is the difference between parameters and arguments?

1 Answers  


Categories