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

How to insert screenshot on to the body of outlook? -1 how to use insert-picture tab in new email outlook to insert image in the body. Suggest something.......

1 Answers  


I'm quite new at QTP. Im doing a web-based app testing. I create something new item and a new link is created in the home page. This link is dynamic as it changes every 3 seconds. Obviously the new link is not in my Object Repo and I am trying to find a way how can I do a check or get the propery of the link I created. I can do it on keyword, but I need to do a check on expert mode, vbscript. I always get an error that is not identified whenever i try to check it (browser(b),page(p).link(newlink). Any idea?

4 Answers  


In Login two edit box which object class property value is same, How to enter into 2nd edit box in qtp by vbscript.

3 Answers  


Hi Guys, here I am posting one question. Wen u r working with Notepad. If it is not responding in the middle of TEst...what u will do.

7 Answers  


What is the basic concept of qtp?

0 Answers  






How Does Run time data (Parameterization) is handled in QTP?

4 Answers   IBM,


For an application we automated QTP scripts. At the same time new requirement comes for a new module for the same application and its already developed. So how we automated now this new module with the old application(using old QTP script).

2 Answers   Bosch,


Explain different checkpoints in qtp.

0 Answers  


What is the extension of the qtp local repository?

0 Answers  


one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.

0 Answers   Mindlance,


Explain quicktest professional (qtp) testing process?

0 Answers  


What type of VB script u had done in expert view?

1 Answers   HCL,


Categories