hi all need one help . i want scroll down and up but thing
the holl page is taking webtable. i need to scroll down and
up using scroll tab any bodu knows plz help its urjent
regards
balaji
Answers were Sorted based on User's Feedback
Hi,
Try this code
Set oDesc1 = Description.Create()
oDesc1("micclass").Value = "WebElement"
Set Lists1 = Browser("Gmail: Email from
Google").Page("Inbox (1) - Yahoo! Mail").WebTable("Add a
new folder").ChildObjects(oDesc1)
NumberOfLists1 = Lists1.Count()
msgbox NumberOfLists1
For i =251 to NumberOfLists1-1
Lists1(251).Click
Exit for
Next
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sathi
Hi Hemakumar
First of all i want to say your piece of code is
working fine but the problem is i have used exist property
for an object which is in bottom of the page.As per your
code,it is scrolling the scroll bar down and again the
scroll bar has been reset to the top without time
interval.So it is not identifying the object.Please provide
me a solution
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / hemakumar.m
what i mentioned is u have to do some operation in that
page where u have to perform those operations.u confirm the
scroll bar is page scrollbar or not.
Ex:
Browser("title:=.*").Refresh
Set oObject=CreateObject("Wscript.Shell")
oObject.SendKeys "{UP} 'For pressing up arrow
oObject.SendKeys "{DOWN} 'For pressing down arrow
Set oObject=Nothing
u trie this one .other wise u send u code what u written i
will modify.
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / hemakumar.m
Set oObject=CreateObject("Wscript.Shell")
oObject.SendKeys "{UP} 'For pressing up arrow
oObject.SendKeys "{DOWN} 'For pressing down arrow
Set oObject=Nothing
Before perfoming this operation u have to do some operation
in what page u want to press down and up arrow.
Ex:
Browser("title:=.*").Page("title:=.*").WebEdit
("text:=LoginId").Set "gsdfgdf"
Set oObject=CreateObject("Wscript.Shell")
oObject.SendKeys "{UP} 'For pressing up arrow
oObject.SendKeys "{DOWN} 'For pressing down arrow
Set oObject=Nothing
| Is This Answer Correct ? | 0 Yes | 4 No |
regular expression in qtp standar check point for months from accepting months from january to december only
What will be happen if i load object repository at run time, but it has already associated.
Can you write a script to check if the folder exists or not?
how to test globalisation testing using qtp? lets take an example: suppose i have to test the word is in hindi "ratikanta", how we test it by using descriptive programming or any method??
Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?
How to handle the exceptions using recovery scenario manager in QTP?
I would like to do some certifications in QTP. please suggese what kind of certifications can i do. I am currently put up at chennai. So please suggest some reputed centres where these courses are offered.
What is the Test Object model in QTP?
What is qtpro? What is a quick test professional?
How can you exit from an action?
how to do regression testing in qtp? plz give ans with examples
Could anyone please tell me one situation where you have used recovery scenarion in real time with an example?