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



hi i have one issue while selecting weblist i want show one particalur item in weblist .ex one web..

Answer / badam

dim x
x = browser("").page(" ").weblist("days")getitem(4)
msgbox x
i hope this can help u

Is This Answer Correct ?    6 Yes 0 No

hi i have one issue while selecting weblist i want show one particalur item in weblist .ex one web..

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 i have one issue while selecting weblist i want show one particalur item in weblist .ex one web..

Answer / balaji

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

hi i have one issue while selecting weblist i want show one particalur item in weblist .ex one web..

Answer / badam

browser("").page(" ").weblist("days").select "Thursday"

Is This Answer Correct ?    1 Yes 1 No

hi i have one issue while selecting weblist i want show one particalur item in weblist .ex one web..

Answer / balaji

hi badam thanks for sending the code its correct ans and
have issue like in welist randamly changing the days that
time i want show pariticular day plz can you help this

thanks
balaji

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?

0 Answers  


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?

5 Answers  


How can i use Output Check points in QTP

2 Answers  


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.

4 Answers  


what is a active x control?can any one brief me about active x controls

1 Answers  






How to create scenario selector

0 Answers  


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.

1 Answers  


What is data driver in qtp? Where we use it?

0 Answers  


How will you declare a variable in qtp?

0 Answers  


What is difference between function and procedure?

41 Answers   HCL, IBM, iGate, Infosys, TCS, Veritas, Wipro,


what is option explicit?

5 Answers  


How can we change the .mtr file to .tsr file and vice-versa

3 Answers   Wipro,


Categories