Quality Testing

Quality is delighting customers


Hi All,

I opened 10 browsers(With differnt names like gmail,yahoo,orkut,jobsite and interview....) and minimize all of them.I have to open one particular browser and i need to do some modifications on that browser (i.e Browsers creation time is different of different browsers so i can't use the creation time) (This question asked by in GENPACT)

Plz tell me how write the script for this?


Thanks&Regards
Basha

Views: 9

Reply to This

Replies to This Discussion

here you said that "Browsers creation time is different of different browsers so i can't use the creation time", means you can use the creation time parameter to open particular browser as they are different accross....i am not getting whats the issue?
Hi Basha,

Does this code help :


' replace XYZ with the title of the page on which you want to perform the operation


Set oDesc = Description.Create
oDesc("micclasss").Value = "Browser"

If Desktop.ChildObjects(oDesc).Count > 0 then
For i =0 to Desktop.ChilObjects(oDesc).Count-1
if Browser("CreationTime:="&i).getRoproperty("titile") = "XYZ" then
Browser("CreationTime:="&i).Maxmize
else

Browser("CreationTime:="&i).Minimise
end if
Next

V V K

RSS

TTWT Magazine

Advertisement

You Can


Call for Articles

Advertisement

Videos

  • Add Videos
  • View All

Badge

Loading…

© 2012   Created by Quality Testing.

Badges  |  Report an Issue  |  Terms of Service