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

Write a script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3 5 4 5

9 Answers  


Explain about import and export files?

1 Answers  


I am using "QTP 9.0" in my system, need to install java add-ins to test the java based applications, please prvide information from where i can get those java add-ins for QTP 9.0

0 Answers   Infosys,


1. How to capture data from images in QTP and produce them in Excel sheet ? 2. What is Terminal Emulator add-in installation and configuration procedure ? 3. Tell me how do u define action and transaction in QTP ? 4. Is QTP case sensitive ? 5. Problem with XML checkpoint ? 6. When was QTP 8.2 and Loadrunner 8.0 officially released to the market ? 7. Can we record on netscape browser does it require any special settings ? 8. How do I add new object to the object repository to any particular frame ? 9. Do we have rapid test scrpit wizard in QTP ? How to learn all the windows and objects in QTP 10. How to open Exceel sheet using QTP script ? 11. Is it necessary to learn VB script to work with QTP or we can manage with keword driven ? 12. What is descriptive programming in QTP ? 13. How to invoke the QTP from dos prompt and run a test without any interaction with human ? 14. What is the meaning of Context sensitive ? 15. How to retrive the property values from "Resource.mtr" after recording the script with "Standard checkpoints" ? 16. Where should we use accessbility checkpoints. Can u explain me with the example ? 17. How do we add object repository dynamically ? (During runtime) 18. How to record right click of a context menu and click on the selection ? 19. How to connect oracle database to QTP ? 20. How will you load few objects in Active Screen ? 21. Can I compare two DataBases using QTP ? 22. If the the two object have same class then how QTP will find the object ? 23. Can I change the runtime properties of an object ? How can I check if a parameter exists in database ? 24. What is the script for database check point, bitmapchek point, regular expression ? 25. What is QTP environmental variable ?

1 Answers  


How to get the column count and column name from the resultset in the database connection program?

5 Answers   TCS,






how to merge 2 object repositories in qtp 9.0.what is use of merge and y merge is used?

1 Answers  


What r the advantages of automation?

3 Answers  


Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?

0 Answers  


what do u mean by test harnesses in qtp?

1 Answers   Verizon,


What is the difference between Call to Action and Copy Action.?

2 Answers  


Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji

0 Answers  


I register user defined function in one test, I tried to call that function into other test. But that function not works in other test please give the direction for that.

1 Answers  


Categories