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

Hi,can anyone tell me How to found the number of 1's and 2's in the given format 1,1,2,2,3,3,4,2 using vbscript Thanks in advance

3 Answers  


how to retrieve data from flight resevation->reports

2 Answers   Wipro,


hi i have completed my b.tech in cse stream. now i am working in an organisation in testing department. i want do sap course but i dnt know which module will boost my career can anyone suggest me which is good for my career

0 Answers  


Suppose if a functionalityis not mensioned in requirement document and but its present in application. will it be consider as a bug and viceversa?

2 Answers  


What is the need and applications of learning VB script for a automation(QTP) engineer ain Realtime ?

2 Answers  


Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()

1 Answers  


How do you data drive an external spreadsheet?

1 Answers  


Hi, I am trying to automate the web application for generating Reports.I am facing issue with IE while running the script. After 4 report IE crashes.I am using QTP 9.5 with IE version 7. Can anubody give me solution for this issue. Thanks in advance-Jyotsna

0 Answers  


How to remove associated function library?

0 Answers  


How many types of parameters are there in QTP and what are they?

2 Answers  


Hello Guys, Can anybody Explain me about Automation framework?? and how can we prepareAutomation Framework using QTP

3 Answers   CTS, IBM, Sapient,


what are the limitations of automation testing?

2 Answers   TCS,


Categories