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
explain keyword driven framework with banking domain?
what is supply chain management?
How to start recording using quicktest professional (qtp)?
What is active screen?
in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)
I am having major problems with some DB Table Checkpoints I add to my script. I 35 web based applications recorded and each has DB Table Checkpoints insert but only 1 script isn't recognizing the DB Table Checkpoints for some reason. I've checked the DB connections and the info in the Library Functions and still only this one script out of 35 doesn't recognize the DB Table Checkpoints. Can someone please help me figure out why only this one script out of 35 that's hitting the same database is having a problem.
How to Open FireFox using descriptive programing? If my question is not clear, i will give an Example To Open Internet Explorer, We use Set IE = CreateObject(InternetExplorer.Application) IE.Navigate "www.yahoo.com In the same i need to open yahoo.com in firefox. Can any one tell me what is the server name of firefox to create an object
Object repositories types, which and when to use?
Explain about business process component? types and usage?
How you can delete excel file in qtp?
How to find a window is minimized or not
i need qtp tutorial. pls send it to sridhar.k151@g mail.com
how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me
What are the features and benefits of quick test pro (qtp 8.0)?