To get data from table which method will be used in QTP
Answer Posted / nag
to get whole data in web table using loops
run exactly below script(explorer should be default browser
) let me know if i am wrong
Systemutil.Run"https://www.iciciprulife.com/ipru/Current_UnitValue.jsp"
Browser("Browser").Page("ICICI").WebList("navType").Select
"Golden Years"
x=Browser("Browser").Page("ICICI").WebTable("Fund
Name").RowCount
For i=1 to x
y=Browser("Browser").Page("ICICI").WebTable("FundName").ColumnCount(i)
Next
For i=1 to x
For j=1 to y
n=Browser("Browser").Page("ICICI").WebTable("Fund
Name").GetCellData(i,j)
print n
Next
Next
print "no of rows"" "& x
print "no of cplumns"" "&y
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How to replace junk code recorded by QTP with a mall function.
HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.
Mention what is the main difference between function and sub-procedure?
i have a problem with this error(this error related edit and
delete button,when i click this button in datagrid..i will
get this error)"Invalid postback or callback argument.
Event validation is enabled using
How will you get the smallest subscript of an array in vbscript?
Which operator can be used to check if two numbers are equal or not in vbscript?
write any ttest cases using check points and parameterization
When does ‘on click of button’ event gets triggered in the vbscript language?
What is vbscript language used for and which earlier language is it modeled upon?
Mention what if you do not specify anything when you call a procedure?
Which constant is used for print and display functions and works as same as pressing enter key?
Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP
Can someone please tell me what poor design in a relational database (not the layout or style) is and how it can be avoided? PLEASE...im desperate.
Explain vbscript in detail?
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...