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 is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?
Whenever we r keeping mouse pointer under the image we r getting image name. In qtp how can we do this thing.weather that name is coming or not?
How can i use Output Check points in QTP
On a web application I want to select list item 5 from a dropdown list. but QTP identifying this object as winobject. Then how can we select list item 5 from that dropdown list.
what is a active x control?can any one brief me about active x controls
How to create scenario selector
Hi Guys, In one of my interviews, I was asked to Write a paragaraph explaining how much scripting I did in QTP? I don't know where to start and what to write. So I need your help in writing that.
What is data driver in qtp? Where we use it?
How will you declare a variable in qtp?
What is difference between function and procedure?
41 Answers HCL, IBM, iGate, Infosys, TCS, Veritas, Wipro,
what is option explicit?
How can we change the .mtr file to .tsr file and vice-versa