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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?

1563


How many ways we can parameterize data in quicktest professional?

553


Explain the views in the QTP GUI?

617


How to customize qtp?

608


What are the different recording modes?

558






What is QTP testing process?

621


In Remote acess server how u run a test?

1284


I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?

1370


Explain about the test fusion report of quicktest professional (qtp)?

535


WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,

1498


What are the different types of functions available in qtp and explain ?

562


How can you pass value one action to another action?

553


What are parameterizing tests?

547


How many types of Automation frameworks are there in UFT? Describe them.

554


How to handle the exceptions using the recovery scenario manager in qtp?

565