Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How do you handle XML exceptions in QTP (Here it is Exception, not the checkpoint)

2 Answers   CFC, CTS,


In this bellow script QTP is not able to getting no. of Links from my Browser. Set desc=description.create desc("micclass").value="Link" Set obj=Browser("creationtime:=0").page("title:=.*").childobjects(desc) msgbox obj.count I am getting "General Run Error".Why QTP is not supporting my Browser,but its running fine in other system.Please help me to overcome this problem.

1 Answers  


what is syncurnisation point? what is the use of this in real time environment? plz explain?

6 Answers   AppLabs,


how do you remove object repository at runtime and load object repository and verify it

2 Answers   Thomson Reuters,


What is the quicktest professional testing process?

0 Answers  


hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com

0 Answers  


Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link

0 Answers  


What is the difference between link and hyperlink?

1 Answers  


how can we know the program is testing by multiple test data in data driven frame work?

1 Answers   CTS,


Hi. plz expalin abouit SetToProperty, SetRoProperty, GetToProperty, GetRoProperty,GetToPrperties. with examples.

6 Answers  


what is Business Process Testing plz explain?

7 Answers   iFlex,


Explain about the Test Fusion Report of QTP?

1 Answers  


Categories