How to test background color and dynamic images which are
moving during runtime?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
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)
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
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
I have a string "Redfort is in Delhi" how do u write vbscript for " Delhi in is Redfort"
wht is Driver in Integration testing. Anubody can answers it
What is diff betwee datatable.importsheet "path" and datatable.import
what is exacltly TIERS ?
plz tel me what is the differnce between QC & QTP?
Does UNIX support QTP? If not what is the other tool used for Unix environment?
Write the Test Cases for ATM(Any Time Money)
In Remote acess server how u run a test?
What is Optional step?