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 |
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.......
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?
In Login two edit box which object class property value is same, How to enter into 2nd edit box in qtp by vbscript.
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.
What is the basic concept of qtp?
How Does Run time data (Parameterization) is handled in QTP?
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).
Explain different checkpoints in qtp.
What is the extension of the qtp local repository?
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.
Explain quicktest professional (qtp) testing process?
What type of VB script u had done in expert view?