how i can get the value of label box , please any body tell
me script of that code
Answer / firoz basha shaik
add the object in the repository.
for ex, the object name is lblSelection
Selection = Browser("Browser").Page("Page").VBLabel
("lblSelection").GetROProperty("text")
msgbox Selection
You will come to know what value it consists of
| Is This Answer Correct ? | 6 Yes | 1 No |
What is the quicktest professional (qtp) testing process?
Is there any site to download QTP....otherwise tell me the way how to get the QTP sofware??????????????????? Thnx in advance
When to use Descriptive programing?
Give the syntax to load function at run time.
w is fragmentation and paging
how can i call an external action,which is not added external action of an action?
What is keyword view?
How many test scripts are prapare in ur project(HeathCare Insurance).
While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?
What are FAST and NORMAL modes in qtp ? Why r these modes intended for ?
I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible
Hi, I have a login page. To login in that page I need to have a valid username and password, which is stored in database. I imported that table to my DataTable in QTP (Global sheet). Now I need to write a code in qtp so that I can login only with valid username and data. my condition is : I want to get username and password from inputbox(which i did) and click on login button- which should verify the datatable for username and password and if value is present only then lofin else stop the testing. DataTable contains columns : LoginName and Password Code: Rowcount= DataTable.GetSheet("Global").GetRowCount msgbox "RowCount= " &RowCount,1 CurrentRow= DataTable.SetCurrentRow(1) Do Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$UserName$ctl").Set DataTable("LoginName",1) Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$Password$ctl").Set DataTable("Password",1) Browser("").Page("").Frame("Frame").Link("Login").Cli ck CurrentRow=CurrentRow+1 Loop Until CurrentRow>Rowcount Can anyone help? Thanks, Priya