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 load the object repository at run time?
How to test whether the navigation i.e. from one page to another is working r not using QTP for web based application
What are the ordinal identifiers in web page?
Can we check environment variable value without existing of environment variable
How you are developing the script? Using record and play back or manual?
Can we run multiple QTP scripts one after the other without manual intervention? How?
I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }
str="ramanareddy12345@gmail.com"to count alphabets,numarics and special charcters pls any one knows send to answer
Where the text version of script file located in file system?
difference between GetROProperty and GetTOProperty
How to run a test using quicktest professional?
how to find that tools work well with your existing system?