how to get the data from a winedit box in vb scripting and store it in a variable if data contains "_"(i.e data is TEST_1)
Answer Posted / sisira
set desc=description.create
desc("micclass").value="WinEdit"
set child_obj=Dialog(portal).childobjects(desc)
no_objects=child_obj.count
for i=0 to no_objects-1
captured_data=child_obj(i).getroproperty("text")
if instr(captured_data,"-") then
requireddata=captured_data
exit for
end if
next
msgbox "winEdit present with" &"_ "&"symbol"
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..
Explain QTP using different development techniques ?
Why we load add-ins in qtp?
What are the different types of action?
what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent
How do know the number of browsers opened?
Explain in brief about the quicktest professional (qtp) automation object model?
What are the views available in quicktest professional (qtp)?
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?
How to use transactions in qtp?
Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)
how u will evaluate the tool for test automation?
Explain different recording modes?
How do we analyze the checkpoint results?
desribe a situation where u faced a stressful situation and how did u cope with it