This is the script generated by qtp plz can anyone write
the same script using descriptive programming plzzzz guys
do answer.
Browser("orkut - login").Page("orkut - login").WebEdit
("Email").Set "rgovard"
Browser("orkut - login").Page("orkut - login").WebEdit
("Passwd").SetSecure "47525d8be4926ea2f6e96b9a3f7472b6ae38"
Browser("orkut - login").Page("orkut - login").WebButton
("Sign in").Click
Browser("orkut - login").Page("orkut - home").Link
("Logout").Click
Browser("orkut - login").Page("orkut - login").Sync
Browser("orkut - login").Close

Answer Posted / rajaputra

What Aiswaryan has given is correct.
But i will do a modification to the script.

systemutil.Run "IExplore.exe","www.orkut.com"
Browser("Title:=orkut - login").Page("Title:=orkut -
login").WebEdit("name:=Email").Set "rgovard"
Browser("Title:=orkut - login").Page("Title:=orkut -
login").WebEdit("name:=Passwd").SetSecure
"47525d8be4926ea2f6e96b9a3f7472b6ae38"
Browser("Title:=orkut - login").Page("Title:=orkut -
login").WebButton("name:=Sign in").Click
Browser("Title:=orkut - home").Link("name:=Logout").Click
Browser("Title:=orkut - login").Page("Title:=orkut -
login").Sync
Browser("Title:=orkut - login").Close

Now Run and See it will work.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi Friends ,willany body tell me what is the Scope for the automation Testing inht Future is their Or not And what is the Top Most Level in the testing section according the Pay scale

1509


I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }

1702


hi nani my doubt is how does qtp process metrix related to software process.

1549


can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?

1621


Explain about business process component? types and usage?

1564






What is synchronization? What are the ways you can synchronize?

653


What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?

604


How to handle dynamic objects in quicktest professional?

502


In qtp is it possible to check broken links of a page?

584


what is Property......End Property loop? how to write sript for it in QTP

1893


how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??

1587


Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?

1524


Explain the use of action split in qtp?

566


Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji

1376


supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?

1359