Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Plz explain about InTERNAl Environment variable, External environment variable,builtin environment variables with examples?

1 Answers   TCS,


What is the difference between analog and low level recording?

0 Answers  


Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter

0 Answers   TCS,


How to export data present in Datatable to an ".xls" file?

1 Answers   Crea,


How do you create new test sets in td?

0 Answers  


list me out the shortcutkeys for some functionlities in the qtp for example to record ,to run ... etc

2 Answers   CTS,


how we connect oracle or sql data server database to qtp. Hi Ram I was your answer for this. Can you kindly let me know in details steps on How we can connect to database. i am using QTP9.2 and SQL Server Database. I am new for QTP and this would be of great help.Thanks

2 Answers  


how will check the links in multiple pages at a time

3 Answers  


An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?

0 Answers  


What is a checkpoint? How many check points are there in qtp?

0 Answers  


If created one virtual object? Next time I changed the window position will it work?

0 Answers  


how to read log file using QTP??

3 Answers   AppLabs,


Categories