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

What is environment variable in qtp and why to use it?

1071


Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?

2082


Hi.. I want to do parametrization for selecting perticular flighr say XYZ by using local table: criteria: 1.If flight is available msgbox "Flight is available" and then select flight from flight table and click to ok button after that as enter username and ticket no and then stop 2. otherwise msgbox " Flight is not available" and stop Please help me out ..and let me know your responses on dipak.bachhav@gmail.com Regard, Dipak

2161


In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer

2468


What is keyword view?

1048


what is object and child object.. explain ..if possible give some example for better understanding ..

2047


wht type of User defined functions or Java Releated functions do we write in VB scripting

2289


Can anybody let me know how to test the Drag and drop feature of the column in a .net application...eg..i hav to test the drag and drog feature of a table(swftable) in a application..plze help!!

2264


QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue

6309


How do you do batch testing in wr and is it possible to do in qtp, if so explain?

1017


How to recognise the webelement and verifying that webelement is enabled?

2244


What is TOM in QTP?

2270


Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?

2004


How to export quicktest professional (qtp) results to an .xls file?

1272


Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance

2302