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

I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, and also tell me the best institute and the estimate cost for joining the institute ib delhi NCR. Hence, if possible, kinldy mail PDF file to my mail-ID: kumar123.pathak@gmail.com , Regards, kumar pathak

0 Answers  


suppose take one row in a row 16 columns is there.in 16 columns 16 numbers is there.but i want to get each 3 column number.o/p :5 columns get in 16 columns means. so can anybody write this function? plz send if u know the answer.

2 Answers   Bosch,


can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?

0 Answers  


Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?

0 Answers  


How to test menu options using qtp

2 Answers  






How to execute a VBS file without using Execute File statement?

3 Answers   iGate,


what is actually contain test report? can anybody post the test report

0 Answers   Synechron,


I have thousands of links are there, i want check each and every funtionality of link by using descriptive programme, retrive link name from excelsheet then operate in application. Please anybody send me model script

1 Answers   Oracle,


What is smart identification?

2 Answers   Ordain Solutions,


what frame work you are following?

0 Answers   Wipro,


What is iteration? How it is related to Test Results in QTP?

2 Answers  


Key word driven framework

0 Answers   Wipro,


Categories