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 |
In an interview what r the questions asked in qtp related project? pls any answer this question?
The string is like POWER STAR PAVAN , write a script for this how to findout the number of "A" in the string ?
For Data-Driven testing can you use micro soft word document instead of using Datatable what is your approach?
suppose i have one datatable in my datatable in 2 nd row 3rd column one link is ther i need to validate that link how do u do this?(wipro)
What is the use of Accessibility check point?
How to Practice QTP Scripts?
I have a web table,in that web table in 3rd row 4th coloumn i have a link how to click it with descriptive programming? I have a webedit without entering any value how to calculate the size of that field? I have a DB table , how to find the 5th highest salary? write query.
how to capture data from images in QTP and produce them in excel sheet?
How to associate function library at a run time?
In qtp what type of data tables are used , name and list out them
Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know
hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company