In Webtable New rows getting added, we have select the name as Sandeep ,If name column is sandeep then need to check the checkbox ,we don't know the rows and columns ,Can anyone please tell me the answer.
Answer Posted / pushkar1206
Set obj=description.Create
obj("micclass").value="webcheckbox"
Set obj2=browser("Browser").Page("Page").childobjects(obj)
rw=browser("Browser").Page("Page").WebTable("Table 1").RowCount
For j=1 to rw
b=browser("Browser").Page("Page").WebTable("Table 1").GetCellData(j,3)
If b="N" Then
obj2(j).set "ON"
End If
next
3= Sandeep column number
try this and let me know. thanks
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the major/ important methods, functions in QTP we use realtime testing
Explain step generator in qtp?
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
What is the difference between call to existing action and copy of an action?
How do we handle run-time errors?
In QTP TEST DIRECTOR COMBINATION WHAT IS THE PURPOSE OF TEST DIRECTOR? In Somebody says to store test cases and design test cases.?ok fine , but In test director 5.0 , QTp not launching. what u do?
When ‘option explicit’ keyword is used in qtp?
what is object and child object.. explain ..if possible give some example for better understanding ..
Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)
why text area checkpoints cannot used for web applications
If created one virtual object? Next time I changed the window position will it work?
What is difference between design time and run time data table?
what r the main attributes of test automation?
Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations
What are the challenges you faced during you entire life automation ?