hi i have one issue while automating the script using QTP i
want scrool down .i cannot do even using scrool down
methqad is not working .the object will take WebElement plz
is there any code help me

Answer Posted / rico

I think this can be done by creating the shell object and
then using the sendkeys option(i'm just guessing)...maybe
the code goes like this

Set myshell = CreateObject("Wscript.Shell")
myshell.sendkeys "down" ' take the cursor down

(WshShell.SendKeys("+{F10}")'simulate a mouse right-click
by sending a shift F10)

Other way of doing this would be " analog recording" where
is caputre the mouse movements(like scroll, click, etc)

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can i compare two databases using QTP ?

1892


This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?

1477


In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?

1510


Explain qtp(quick test professional)?

587


Explain how you can replace string in qtp?

611






What is QTP and the use of QTP in TD?

606


what is command for executing files?

1521


How do you do batch testing in wr & is it possible to do in qtp, if so explain?

631


Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,

1353


Explain how Selenium is different from UFT?

701


How to use transactions in qtp?

571


Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar

2804


What is qtpro? What is a quick test professional?

593


What are the different recording modes?

570


what are the limitations of smart identification in qtp 9.0

1934