Hi Frriends...
I have one Query please give the apropriate ans.
when we r working with web based application , the user
loggedin page name is changed respect to the username (
Take a exp. Yahoomail.com) .When we use Datadriven test to
this scenario ,each time the loggedin page name is
changed ...then the script is fail.. at that time wat can
do...
please give the apropriate ans.
Thanx in advance..
Answers were Sorted based on User's Feedback
Answer / aravindh
Hi, Try Descriptive Programming. It should work
datatable.importsheet "Table.xls",1,1
Cnt=datatable.getrowcount()
SystemUtil.Run "http://www.yahoo.com/"
Browser("micClass:=Browser").Page("micClass:=Page").Link
("micClass:=Link","name:=Mail").Click
Browser("micClass:=Browser").Page("micClass:=Page").WebEdit
("micClass:=WebEdit","name:=login").Set datatable
("UserName",Global)
Browser("micClass:=Browser").Page("micClass:=Page").WebEdit
("micClass:=WebEdit","name:=passwd").Set datatable
("Password",Global)
Browser("micClass:=Browser").Page
("micClass:=Page").WebButton
("micClass:=WebButton","name:=Sign In").Click
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / softwaretester4u
use regular expression of the login name means yahoologin ,
give yahoo.* like depend upon mecury tool.
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / surendra
hi .. when we insert regular expression, at that time also
the script is not running properly and also the smart
identification is disabled when we insert regular
expression...
please Provide another solution..
Thanx in advance.
Is This Answer Correct ? | 0 Yes | 1 No |
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); }
hi this is srinivasa(from blr) i complited my B.tech(e.c.e) in 2007 im searching job in s/w testing but idont have freshers resume for s/w testing please send some s/w testing resume for me(fresfers resumes only) advns thnks you
Can you tell me any books or websites to learn VB Script for QTP ??
What is the present version of the VB Script we are using
Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek
Hi All, I need code for how to execute qtp scripts from excell sheet
How can you delete the results file (XML)
How do you use the parameters.input parameters and out put parameters.
what is the difference between DATA TABLE and DATA SET?
What is text check point and text area check point?
Will QTP Support Japanese Language?
3 Answers Cap Gemini, Infosys,
What are the benefits of qtp?