Replies
Hi Georgi,
1. OS – WINDOWS 7 – Enterprise Edition – 64 Bit Operating System – 6GB RAM
2. WINDOWS 7 – Enterprise Edition – Service Pack 1
3. Current Version of the QTP is HP UFT 11.5
4. UFT 11.52 is the latest patch that is installed for UFT 11.5
5. Current Version Netadvantage 2009 .Volume 2 , Testadvantage 2009 .Volume 2
6. 9.2 CLR2.0 – Licensed version
7. Since i was able to proceed better with my Application under test – Did Not try record and replay on the default samples
Just to brief the case what i was trying to understand
During the QTP record – swf table is identified in the below hierarchy – i tried the PLay back with .getcelldata – it worked perfectly fine no issues
swfwindow1("").swfwindow2("").swftable("").getcelldata("")
When the same swftable is spied via the object spy of QTP between swfwindow1 and swfwindow2 there are may swfobject and swftabs
Long hierrachy between swfwindow1 and swfwondow2 is as below
swfwindow1("").swfobject("").swfwindow2("").swfobject("").swfobject("").swfobject("").swftab("").swfobject("").swfobject("").swftable("").getcelldata
In the above long hierrachy i was able to identify objects only till swfwindow("").swfobject("") – Followed by that my Properties were not strong enought to recognize the Objects uniquely
my final goal was to understand whether its a good practise to Descriptively Code for all the objects between the swfwindow1 and swfwindow2 or just Consider the 2 swfwindows for object recognition and proceed – which as of now its working?
Due to some reason – GetNApropery is not visibe in the intellisense of the UFT 11.5 IDE – but GEtnapropery , getcolumn control all are visibe in the Operations section of the test Object – Any Tips to improve the intellisese – so that we coud try all the available Operations before posting in the forum?
New issue
In order to set a cell in the swftable – I am trying the below Snippet – but it throws an error saying – object doesnt support this action – below is the snippet
SwfWindow("").SwfWindow("").SwfTable(tablex).ActivateCell 0,7
SwfWindow("").SwfWindow("").SwfTable(tablex).SelectCell 0,7
SwfWindow("").SwfWindow("").SwfTable(tablex).Type "57,00"
Thank you very much georgi for responding – sorry for the dealyed response