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

i have .xls,.txt,.doc files are there (together). i want find only .xls file among them? how can we write function?

3 Answers   CTS,


What is action? How many types of actions are there in qtp?

0 Answers  


one page contain next button.when we enter that its not going to next page.what type of error that one.

3 Answers   TCS,


w is recovery senario manager

3 Answers   Infosys,


suppose we recording a web based project so for that we are using internet explorer after that if we execute that script in netscape then script will execute or not and one more thing is to exeute the script in any browser what to do

2 Answers   DigiTech,






what is keyword driven testing

2 Answers  


If aclient comes to tester ask to bye a tool Keep aside about the cost,In what way we can choose the tool.

1 Answers  


How you can find length of array in qtp?

0 Answers  


How to find RAM size by using QTP?

2 Answers   IBM,


How can we test existence of a particular word in scentence using QTP tool. Thanks in Advance!!!!!

4 Answers  


Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.

1 Answers  


how to write script in qtp(vbscript)..i mean with out application deployed..and how to call script1 into script2?

2 Answers  


Categories