Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


How to test background color and dynamic images which are
moving during runtime?

Answers were Sorted based on User's Feedback



How to test background color and dynamic images which are moving during runtime?..

Answer / xyz

i am not sure about testing the back groung color but
the code below
Dim ctrlWebEl, objWebEl
Set ctrlWebEl =Browser("Google").Page("Google").Link("Go to
Google.com")
Set objWebEl = ctrlWebEl.Object

sColor = objWebEl.currentStyle.color
sBackgrColor = objWebEl.currentStyle.backgroundColor
sFontSize = objWebEl.currentStyle.fontSize
sFontStyle = objWebEl.currentStyle.fontStyle
sFontFamily = objWebEl.currentStyle.fontFamily
sFontWeight = objWebEl.currentStyle.fontWeight
msgbox
(sColor&" "&sBackgrColor&" "&sFontSize&"
"&sFontStyle&" "&sFontFamily&" "&sFontWeight
)

helps us to get the color of a link or a webelement

we can do this using standard check point as well
not sure if this is the answer for ur questions

Is This Answer Correct ?    3 Yes 0 No

How to test background color and dynamic images which are moving during runtime?..

Answer / xyz

e4ven i dont know

Is This Answer Correct ?    1 Yes 2 No

How to test background color and dynamic images which are moving during runtime?..

Answer / suguruchandrashaker rao

Dim ctrlWebEl, objWebEl
Set ctrlWebEl =Browser("Google").Page("Google").Link("Go to
Google.com")
Set objWebEl = ctrlWebEl.Object

sColor = objWebEl.currentStyle.color
sBackgrColor = objWebEl.currentStyle.backgroundColor
sFontSize = objWebEl.currentStyle.fontSize
sFontStyle = objWebEl.currentStyle.fontStyle
sFontFamily = objWebEl.currentStyle.fontFamily
sFontWeight = objWebEl.currentStyle.fontWeight
msgbox
store this code in actualresult as a variable
and in runtime get the property value using GetRoproperty
and store it in expectedresult
then compare both the result like
if actualresult=expectedresult
then
repoter.report......
else
mismatch

Is This Answer Correct ?    0 Yes 1 No

How to test background color and dynamic images which are moving during runtime?..

Answer / vengi

i feel It is testing by using bitmap checkpoint

Is This Answer Correct ?    0 Yes 2 No

How to test background color and dynamic images which are moving during runtime?..

Answer / hari prasad

Here we have to identify which test have to do first,
through Image and Bitmap check points we can test
applications .....

Is This Answer Correct ?    0 Yes 2 No

How to test background color and dynamic images which are moving during runtime?..

Answer / sunil reddy

May be QTP Provides the Page Checkpoint I mean By using
this we check the All the contents of a Web page

Correct me If Iam wrong

Is This Answer Correct ?    0 Yes 3 No

How to test background color and dynamic images which are moving during runtime?..

Answer / manu

background color you can test with bitmap checkpoints, but
moving image you gotta go for multimedia addin...

let me know if you need details..

Is This Answer Correct ?    0 Yes 3 No

Post New Answer



More QTP Interview Questions

What is checkpoint in qtp?

0 Answers  


Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?

0 Answers   IBM,


how can i impliment error handling in QTP?

5 Answers   Ordain Solutions,


Explain the checkpoint in qtp?

0 Answers  


Suppose one object is changed in a project after delivering the project.Where we will update that object? it can be present in many scripts so can we update all the scripts?

1 Answers   IBM,






action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans

0 Answers   TCS,


Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?

0 Answers  


what is objectidentification?

2 Answers  


Who uses qtp tool?

0 Answers  


What is keyword view and Expert view in QTP?

9 Answers   Ordain Solutions,


How to Start recording using QTP?

1 Answers  


What will be the script for recovery scenerio.plzanyone give ans with aexample related to banking project

2 Answers   Yahoo,






Categories