hi i have one issue while selecting weblist i want show one
particalur item in weblist .ex one weblist they are monday
to sunday i want show the reporter like thurday in
particular weblist can you help me about this
thanks
balaji
Answers were Sorted based on User's Feedback
Answer / rico
ListSize = Browser("B").Page("P").WebList("L").GetROProperty
("items count")
for i = o to listsize-1
set lsn = Browser("B").Page("P").WebList("L").Getitem(i)
if lsn = "Thursday" then
msgbox "Its in the list"
else
endif
Next
I didn't verify this code....nevertheless, it should work.
| Is This Answer Correct ? | 4 Yes | 1 No |
hi Rico thanks for sent ans now its working fine i did some
changes in that code it should be working fine .your from
am sending below code
ListSize=Browser("").Page("").WebList("").GetROProperty
("items count")
For i=1 to ListSize
lsn = browser("").Page("").WebList("").GetItem(i)
If lsn ="Today" Then
reporter.ReportEvent micPass,lsn ,lsn
Exit for
End If
Next
Now its working fine
thank you
balaji
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / badam
browser("").page(" ").weblist("days").select "Thursday"
| Is This Answer Correct ? | 1 Yes | 1 No |
What are the types of Object Repositories in QTP?
what is the difference between the modular framework and datadriven frame work
when i perametarization of the test through outputcheckpoint,i have seen run time error i.e outputcheckpoint mismatch .Plz tell anybody to me(qtp).How to clear that?
A web Page has a webtable with four columns and four rows. The first column is of ID and has values of 100,100A,A100,100y Find out the number of rows whose ID starts with 100. Similarly the last column is 'number of links'. Each row in the last column has values like link1,link2,link3 etc Find out the number of links where id is 100
Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?
How to use reporter.report event in qtp ?
where do you define the objects as regular expression when u are using regular expressions.
what is Unicode Compatibility ? HOw does this makes a diffrence from Winrunner.?
i have asked earlier only one question how to test web application using QTp plz send me the answer quickly
What is quick test pro?
When to use shared and local object repository?
str="ramanareddy12345@gmail.com"to count alphabets,numarics and special charcters pls any one knows send to answer