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


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 the hierachy of Descreptive programming?

3 Answers   Fiserv,


Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John

0 Answers   IBM,


What is the difference between "call to action" and "call an existing action"

9 Answers   Accenture, Yana Software,


What is Expert view?

4 Answers  


hi, for QTP TRAINING......SURESH REDDY SMART SOLUTIONS sr.nagar IS BEST OR NOT? how faculty teaches?

4 Answers   Cap Gemini,


What are different types of frame works ?

3 Answers  


Hello friends can anybody tell me about the architecture of QTP with diagram of it.this architecture is same for any domain like ERP/Banking/CRM/Healthcare or it's different then please tell me.thanks

4 Answers   Fidelity,


At a time how many users can access QTP?

5 Answers  


from what stage you will start automation in your project

5 Answers   TCS,


Which scripting language used by quicktest professional (qtp)?

0 Answers  


Hello Everyone, I have a problem. QTP is capturing no action on a particular page in the application that I am trying to automate. But on the same side its working fine on other pages of the same application. Can someone please help me understand the reason behind this inconsistency.

1 Answers  


explain how to write vb script in qtp?when will you write own script?

0 Answers   FirstApex,


Categories