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...


I have one bitmap image in my webpage. The bit map image is
moving like 1 place to 2nd place and 2nd place to 3rd place
Etc… in my webpage.
I wanted to write script for dynamical objects like above
example.
Could you please send me the answer for above query.

Answers were Sorted based on User's Feedback



I have one bitmap image in my webpage. The bit map image is moving like 1 place to 2nd place and 2n..

Answer / raj kumar

This is the correct answar

Var= Browser("Automation Testing Interview").Page("Automation
Testing Interview").Image(html tag:=IMG", file
nmae:=KalAajKal.com").Exit

If Var= True then

Browser("Automation Testing Interview").Page("Automation
Testing Interview").Image(html tag:=IMG", file
nmae:=KalAajKal.com").Click

Else

Msgbox " No image on page"

endif

Is This Answer Correct ?    6 Yes 0 No

I have one bitmap image in my webpage. The bit map image is moving like 1 place to 2nd place and 2n..

Answer / naren

V can identify the image using below DP irrespective of its
position.
Browser("xx").page("xx").image("file name:=xx.gif").click

Since the image file name will be unique

Is This Answer Correct ?    3 Yes 0 No

I have one bitmap image in my webpage. The bit map image is moving like 1 place to 2nd place and 2n..

Answer / neeraj

is it correct answer

Is This Answer Correct ?    0 Yes 0 No

I have one bitmap image in my webpage. The bit map image is moving like 1 place to 2nd place and 2n..

Answer / kumar

regular expression can be used when the image name
consider as pic1 , changed to pic2 or pic3.


but in this secnario , position of the image is changing.
so need to identify the object dynamically.

answer 1: can resolve this issue......

Is This Answer Correct ?    1 Yes 2 No

I have one bitmap image in my webpage. The bit map image is moving like 1 place to 2nd place and 2n..

Answer / kumar

hi vineela

using the Analog Recording mode we have to record each
and every possible position of the Image in the page.
In this secnario the image position is not fixed in the
page,so it will be in position 1 or 2 or 3 or 4 or 5or 6 or
7 or 8 ................

so we can't handle this using recoridng mode options.
Go for Descriptive programming(Answer1), irrespective of
the position it will identify the image in the PAGE.

Is This Answer Correct ?    0 Yes 1 No

I have one bitmap image in my webpage. The bit map image is moving like 1 place to 2nd place and 2n..

Answer / neeraj kumar

Hi! Mvkumar123

To resolve this issue we will use regular expression. QTP
provides regular expression to identify an objects,having
changing values....





Regards
Neeraj Kumar

Is This Answer Correct ?    2 Yes 4 No

I have one bitmap image in my webpage. The bit map image is moving like 1 place to 2nd place and 2n..

Answer / kumar

Browser("Automation Testing Interview").Page("Automation
Testing Interview").Image(html tag:=IMG", file
nmae:=KalAajKal.com").Click


here in image(). give the unique properties of that image.

Is This Answer Correct ?    2 Yes 5 No

I have one bitmap image in my webpage. The bit map image is moving like 1 place to 2nd place and 2n..

Answer / vineela

Hi Kumar,
In Analog Recording mode we can identify the objects with
window coordinates. It doesn't matter where the picture is
on desktop, but by default is Context Sensitive mode so we
need to change to Analog recording mode for that particular
step.

Is This Answer Correct ?    1 Yes 5 No

I have one bitmap image in my webpage. The bit map image is moving like 1 place to 2nd place and 2n..

Answer / alok

Hi,
Your's problem will be solveed by using virtual object
concept.

Is This Answer Correct ?    0 Yes 9 No

Post New Answer

More QTP Interview Questions

There are some links on the web page,write a script to count and click those links and check the text on the page displayed on clicking the links.

3 Answers   Tech Mahindra,


hello everyone, can anybody please tell me what are the different recording modes of QTP, and where these recording modes are present in QTP 9.2. Thanks in advance, Gaytri

7 Answers  


can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks

0 Answers   iFocus,


can u Give Procedure to Handle Pop Window & write Code for that

2 Answers   CTS,


Please explain me i am using QTP 9.5 ,i am creating re usable scripts,i have to pass data from one local sheet to another local sheet.for example i am creating emploee information, (data is in action 2 local sheet),In this data table emplyeee number will get,i have to pass employee number to another reusable script search data (action2 local data sheet)

2 Answers  


When u ll use Record Button in QTP?Is VB script is Mandatory in QTP? What is Meaning of Frame("v1")?

1 Answers   TCS,


How to make an Action as reusable?

1 Answers  


How we test the logo or images in the web page using QTP? For example take google page, they change their logo for new year,christmas etc..How we test that? Plz answer this question... Thanks in advance..

2 Answers  


How to enter table check points?

2 Answers  


Explain key word driven frame work?How to use in real time?

2 Answers   HP,


How to open a new test using quicktest professional (qtp)?

0 Answers  


want to learn real time automation project(QTP)?

1 Answers  


Categories