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 all need one help . i want scroll down and up but thing the holl page is taking webtable. i nee..

Answer / balaji

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

hi all need one help . i want scroll down and up but thing the holl page is taking webtable. i nee..

Answer / balaji

hi hemakumar Its taking like webtable when i spy the
applicaton i will take hole page as a webtable


regards
balaji

Is This Answer Correct ?    0 Yes 0 No

hi all need one help . i want scroll down and up but thing the holl page is taking webtable. i nee..

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

hi all need one help . i want scroll down and up but thing the holl page is taking webtable. i nee..

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

hi all need one help . i want scroll down and up but thing the holl page is taking webtable. i nee..

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

Post New Answer

More QTP Interview Questions

Anybody wants to learn QTP with realtime implementations and complete framework desiging plz contact to this mail id ciraaj@gmail.com

1 Answers  


What is meant by Pseudo Code?

5 Answers   Satyam,


Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers

0 Answers  


Which object repository we use in real time and can we merge 2 object repostiory and how?

6 Answers   HCL, Satyam,


Suppose i have some records in database now i want to use first 1000 records for one test and next 1000 to 2000 records for another test how can we do this just for ex oracle database pls tell me

1 Answers  






How to invoke QTP using Dos prompt ?

2 Answers   ABC,


How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet

0 Answers  


How can i store runtime value through vb script while using qtp

1 Answers  


How to make arguments optional in a function?

2 Answers   Crea,


The Senario is Steps to do 1.Entered userid in textbox 2.saved with details 3.i want to open user which i have created its in hurry.....

1 Answers  


1. What is diffrence between Analog Recording And Lomlevel Recording ?

4 Answers  


How can we merge two repositories? Can we merge two differnt rep. I mean 1is peraction and other shared

4 Answers   Tavant Technologies,


Categories