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)
Answers were Sorted based on User's Feedback
strValue=Window().WinEdit().GetRoProperty("value")
Is This Answer Correct ? | 0 Yes | 0 No |
Dim strValue
strValue = Browser().Page().WinEdit().getRoproperty("supported property Name")
Msgbox strValue
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / 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 |
When to use descriptive programming?
actually how many hours per one day we will work on automation (qtp) in real time
How do you open adobe acrobat file in QTP and do some testing on that file ?
Hi all, can anyone tell me the challenges u faced while using qtp?
How we wil do data driven test using chkpts? Plz. give me complete navigation steps for this?
What is the latest version of QTP? aster googling i found it 9.5 . but somewhere in my frnds resume i hve seen 10.0 so i am a bit confused pls let me know.
What is keyword view and Expert view in QTP?
What is operator in VB Script?
I recorded a Web based Application running on JAVA and when I went to play them back a week later they didn't run. I noticed that the Browser was putting in a (Underscore and a Number) for each line so i re-recorded and noticed the Underscore line wasn't the same as what i recorded last week so any script I record today will not work next week because the browser settings or how QTP recognizes it keeps changing. This is the new line Browser("Bureau of Labor Statistics_4").Page("Bureau of Labor Statistics").JavaApplet("SurveyApplet").JavaList ("Select an Area").Select "U.S. city average" This is the old line 'Browser("Bureau of Labor Statistics_3").Page("Bureau of Labor Statistics").JavaApplet("SurveyApplet").JavaList ("Select an Area").Select "U.S. city average" Notice the Burearu of Labor Statistics_3 adn Burearu of Labor Statistics_4. Why does it change and how do I prevent it from changing.
Please give me the steps to carry out datadriven in QTP8.2
Hi, Plz give best Definition of Software Testing? Why we need Software Testing? and plz send 2+yrs experience Interview qutions (Manual,Qtp).
what is key word driven frame work how to use keyword driven frame in QTP in a project