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

When I parameterize a script then for each iteration script is executed from begining to end. If I want to execute some middle steps multiple times using Parameterization (avoiding begining and end steps), what is the solution of this (e.g. total steps are 1 2 3 4 5 and i want 2 3 4 only(not 1 nd 5)

2 Answers  


In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?

0 Answers  


Now it appears to be more than enough... I have learn entire QTP, I did whatever I could do but still facing lots of problem and those problems could be removed only after working in professional atmosphere. But still unable to expose myself as professionaly. It is becoming panic, It has been two years I am in manual testing and looking for the change but all the recruiters ask for QTP, but my problem is I don't have working experience with QTP. Kindly suggest me I really need effective suggestions. I dont have more caliber to work with present organization cause of salary reasons...boo.. hooo...hooo. My email address is alkaa.dugaal@gmail.com

0 Answers  


I have a string "Redfort is in Delhi" how do u write vbscript for " Delhi in is Redfort"

4 Answers  


wht is Driver in Integration testing. Anubody can answers it

7 Answers   CTS,


What is diff betwee datatable.importsheet "path" and datatable.import

2 Answers  


what is exacltly TIERS ?

0 Answers  


plz tel me what is the differnce between QC & QTP?

3 Answers   iGate, Satyam,


Does UNIX support QTP? If not what is the other tool used for Unix environment?

2 Answers   Amdocs, Fidelity,


Write the Test Cases for ATM(Any Time Money)

3 Answers   SpaceLabs,


In Remote acess server how u run a test?

0 Answers  


What is Optional step?

4 Answers  


Categories