Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

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..

2172


Explain QTP using different development techniques ?

886


Why we load add-ins in qtp?

1076


What are the different types of action?

962


what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent

1754


How do know the number of browsers opened?

1055


Explain in brief about the quicktest professional (qtp) automation object model?

952


What are the views available in quicktest professional (qtp)?

1010


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?

1081


How to use transactions in qtp?

949


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)

2092


how u will evaluate the tool for test automation?

1826


Explain different recording modes?

992


How do we analyze the checkpoint results?

1005


desribe a situation where u faced a stressful situation and how did u cope with it

1828