I had some task of taking bitmaps for the objects but when i say the command to capture bitmap (browser("title:=Find a Flight: Mercury Tours:").page("title:=Find a Flight: Mercury Tours:").webtable("name:=Home").CaptureBitmap "C:\123.png",1 ) then at that time my focus was not on the Page (it was on QtP). So instead of taking the bitmap for webtable it was capturing somrthing else
Now when I tried ur code and it worked fine for me
Thanks
Ramesh Tahiliani
sorry by mistake i wrote Activate instead of your name
Now when I tried ur code and it worked fine for me
Code:
hwnd_FindFlight = browser("title:=Find a Flight: Mercury Tours:").page("title:=Find a Flight: Mercury Tours:").GetROProperty("hwnd")
Window("hwnd:="+cstr(hwnd_FindFlight)).Activate
browser("title:=Find a Flight: Mercury Tours:").page("title:=Find a Flight: Mercury Tours:").webtable("name:=Home").CaptureBitmap "C:\123.png",1
Thanks
Ramesh Tahiliani
sorry by mistake i wrote Activate instead of your name