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 |
How do you configure QTP AND Test director?
How to call the userdefined functions to script? If i am stored 'add()' function in Library functions folder. i want to cal that function in my script.
descriptive program for a yahoo mail that is in yahoo mail suppose check box mailid subject assume it is like this format all things are in webtable the question is suppose some mail ids are there in that mailids i want to select the check box wich is before a@gmail.com and after that i want to click on delete button
hou can we use vb script in qtp could u tell me breafly
can we call a test in another test?
Can we install QTP on remote server and access it as a web application on other system (client place)? If so please let me know. Thanks in advance, Ravi
What kind of errors can b handled in QTP in real time scenario?
I have below user Defained function function AddTwo(ByVal a, ByVal b) Dim Ans Ans=a+b MsgBox Ans End function Now my question comes here...from given below methods which method is right to call above function?Which is Wrong and why? 1. AddTwo(2,4) 2. Call AddTwo(2,4) 3. AddTwo 2,4 4. Call AddTwo 2,4
Who is the best faculty for QTP in Hyderabad? Is it Mr. G.C.Reddy, some are referring his name?
How to record & run on Japanese language application using english version of QTP ???
Explain what the difference between Shared Repository and Per_Action Repository
Generic function to search for the unique link in webtable and click on it