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 |
hi i have one issue while automating the script using QTP i want scrool down .i cannot do even using scrool down methqad is not working .the object will take WebElement plz is there any code help me
On what document base Descriptive programming is written if build is not yet ready ?
How to count no of edit boxes on the page?
When using descriptive programming?
Pls let me know completely about descriptive programming, where it is used, pls explain with a real time example of its occurence and the program code written in qtp.
How can we conduct U-I Testing by using QTP??????
How to add verification steps to tests?
In this bellow script QTP is not able to getting no. of Links from my Browser. Set desc=description.create desc("micclass").value="Link" Set obj=Browser("creationtime:=0").page("title:=.*").childobjects(desc) msgbox obj.count I am getting "General Run Error".Why QTP is not supporting my Browser,but its running fine in other system.Please help me to overcome this problem.
What are the main differences of qtp and win runner?
How many tables r created during the recording in QTP?
1.can we parameterise object repository?how we can do it? 2.there is a name "mallikharjun".i want to get the vowels in it through VBSCRIPT?
How to create an instance in QTP?