Write a command for setvalue function in a webedit
Answer Posted / sudha tiwari
To set Value in edit box:
browser("name").Page("name").WebEdit("name").Set "SSSS"
To set the value of the specified property in the test
object description:
browser("name").Page("name").WebEdit
("name").SetTOProperty "propertyname, "value"
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
If the weblist is identified as webelement,and by clicking on webelement if the values are displayed,and if the values the values also identified as webelement.then how to fetch the values through script?
Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in
What is an expert view and keyword view?
what QTP Options do you know?
I have two For loop, first For loop does is creates a customer and input the customer info and then the second for loop within the first for loop does the follows which is capture the customer name and verify the with the data within the datatable. The problem I am coming across is that when it goes through the second time creating another customer and then verify the second customer then it creates the following during runtime. I want is to have the customer2 below Customer1 under the Customer_from_Apps. Any help will be greatly appreciate it. Customer Customer_from_Apps Customer_from_Apps1 Customer1 Customer 1 Customer2 Customer2 Window("Customer Desktop").Window("Customer Tracking (Privacy").WinObject("TreeView20WndClass").Click 92,244 runtimevalue = .VbTreeView("vbname:=AppServerTree").GetROProperty("Selectio n") Customer_Val= Datatable.GlobalSheet.AddParameter ("Customer_from_Apps",runtimevalue) row=datatable.getsheet("Global").GetRowCount For x=1 to row datatable.SetCurrentRow(x) Data_Val=Datatable.Value("Customer",dtGlobalSheet) If (trim(Customer_Val)=trim(Data_Val)) Then Reporter.ReportEvent micPass, "Customer validation successful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val else Reporter.ReportEvent micFail, "Cusotmer validation unsuccessful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val End If Next
How to change the priorities of the recovery scenario properties?
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
hi guys, pls tell me for testing institution training hub, hitech city is best or not?
www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
Explain the difference between check point and output value?
desribe a situation where u faced a stressful situation and how did u cope with it
Generic function to search for the unique link in webtable and click on it
HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.
How to find the difference between 2 dates in qtp?