Micro Focus QTP (UFT) Forums
Not able to click text inside the grid dropdown - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Not able to click text inside the grid dropdown (/Thread-Not-able-to-click-text-inside-the-grid-dropdown)



Not able to click text inside the grid dropdown - szkapoo - 11-13-2014

I have a Grid which has dropdown to select how many rows to display. Manually you would click the down arrow and you select the option from the list of pages.
I am not able to find anyway of clicking on the text. And its a webelement.

I selected the text with following code:
Code:
set abc = Browser("").Page("").WebElement("html tag:=SPAN","class:=t-input")
abc.Object.innertext = "50"

Also looked code behind the page and did not see any java script related to clicking method for the text, so I asked the developer I was told its part of the grid so its done by the grid code.
Could it be build in Grid Tool or developer did not know what he is talking about.


RE: Not able to click text inside the grid dropdown - vinod123 - 11-13-2014

can you send me the screenshot so that i can send you the script for which you have asked


RE: Not able to click text inside the grid dropdown - szkapoo - 11-13-2014

Not sure how to attach screen shot to email.


RE: Not able to click text inside the grid dropdown - vinod123 - 11-14-2014

Click on New Reply there you can see New Attachment option at the bottom of the screen upload the image so that i can check it


RE: Not able to click text inside the grid dropdown - szkapoo - 12-08-2014

screen Shot for the GRID.

[attachment=1344]


RE: Not able to click text inside the grid dropdown - szkapoo - 12-15-2014

Anybody has any idea how to select a Page number inside grid dropdown.
thanks


RE: Not able to click text inside the grid dropdown - supputuri - 12-20-2014

Are you still waiting for the answer?