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 Compile Module in QTP? what exactly it contains Functions or Actions?

1 Answers  


HOw to add the recovery file at runtime to the test file .

0 Answers  


My project title is "DRUG Audition and research management" it comes which domain?

4 Answers  


can objects recogonised without repository?

10 Answers   AZTEC,


what frame work you are following?

0 Answers   Wipro,


What are the methods used in UFT to handle exceptions or run-time errors?

0 Answers  


what is the difference between QTP 8.0 & 9.0?

4 Answers  


in how many ways you perform batchtesting?

2 Answers   Sapient,


Difference between copy to action and call to action?

0 Answers  


WHAT IS A TEST STRATEGY & WHAT IS THE DIFFERENCE BETWEEN TEST STRATEGY & TEST PLAN?

21 Answers   ABM, AZTEC, CTS, Infosys, Nihilent, Orange,


Hi, How Accessibility checkpoint in QTP can be implemented in the test script?

0 Answers  


for example one window is there, the window contains how many edit box's i want script? i know the script but that is not exact answer.... The script is like this .......... set a=description.creation() a("Native class")="WinEdit" b=window("Flight Reservation").childobject(a).count msgbox b if u found exact answer please getback to me? raju.ippali@gmail.com 9823257761

1 Answers  


Categories