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 |
We are using the QTP version 9.0 where we want to call objects from global repository for a particular function at runtime for increasing the performance of framework.We are actually looking for loading the objects under test (OAT) dynamically when script runs and would like to unload the same once the execution of the script is completed.
What are the types of environment variables in qtp?
How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)
How do I lauch my test website using code from qtp in different environmet, uat and PPTE?
What is the quicktest professional testing process?
1>How to get the browser name by writing the VBScript. 2>How did you used the GetROProperty and GetTOproperty .give real time scenario. 2>Give and real time ex for the bug having "High Severity and low priority"on banking doamin web based application.
how can i pass parameters into function?
how open two urls in one browser? plz urgent
I have a library function , with that function 100 scripts are being called. The library function is changed(something is added) . how do i update all the scripts.
There is one parent browser and 'n' number of child browsers on desktop. Write a code to close all the child browsers but parent browser should not be closed.
What is the use of ordinal identifier in qtp?
can anyone please tell me what are all the shortcut keys used for qtp9.2? Thanks in advance..i expect ur valuable reply that help us our team???