Contributions
How to Set Paasword Field as Encoded, so as password text does not appear in our code ?
Hi Everyone, Can any one tell how to set Password , so as password text does not appear in our code. Like for example in QTP we have SetSecure method to set the passwod in our application and in code the password is encoded as below : objLogin.SwfEdit("txtPassword").SetSecure"555c242d9c477cbdc9523e69730d80bb7debb07942518f7a" So is there any method here in Test Complete ? Thanks.915Views0likes1CommentRe: How to get ToolTip Text ?
Dim cell Dim ToolTipText Set cell =Aliases.XXX.MainForm.SplitterPanel2.gridTrades.Rows.Item(RowNumber).Cells.Item(ColumnNumber) ToolTipText=Aliases.XXX.MainForm.SplitterPanel2.gridTrades.GetToolTipText(cell) Msgbox ToolTipText So just give the RowNumber & ColumnNumber of the cell , foe which you want to get the ToolTip text. And then Use "GetToolTipText" method to get the tool tip text. Thanks.1.8KViews1like0CommentsRe: Execution Cursor
ClickR property is not available when we use : Aliases.OMS.MainForm.SplitterPanel2.gridTrades.Rows.Item(2).Cells.Item(3).ClickR This property is only showing up in the context menu when used with whole table. Aliases.OMS.MainForm.SplitterPanel2.gridTrades.ClickR1.7KViews0likes1CommentRe: Execution Cursor
---ClickR used without any X,Y coordinates will click in the centre of the control as shown below: Aliases.OMS.MainForm.SplitterPanel2.gridTrades.ClickR ---ClickR used with X,Y coordinates will click in the at that Particular position asshown below: Aliases.OMS.MainForm.SplitterPanel2.gridTrades.ClickR 25,45 Thats why I need X,Y coordinates to do a right click on a particular cell inside the table.1.8KViews0likes3CommentsRe: Execution Cursor
See the below code.. To get you some idea....I can left click on any cell using the below code. ---- left click on 3rd row and 5th column Aliases.XXX.MainForm.SplitterPanel2.gridTrades.Rows.Item(2).Cells.Item(4).Click But NowI want exact X,Y coordinates of this cell (3rd row,5th column). Can you suggest some method to get these coordinates.. My final aim is to simulate the right click on the 3rd row,5th column. And then i can use below code to simulate the right click Aliases.XXX.MainForm.SplitterPanel2.gridTrades.ClickR X,Y1.8KViews0likes5Comments- 2.8KViews0likes7Comments
Re: Execution Cursor
I Opened the object and here is the value of 'Full Name' Property : Sys.Process("OMS").WinFormsObject("MainForm").WinFormsObject("panel1").WinFormsObject("viewControlContainer").WinFormsObject("ultraTabControl1").WinFormsObject("Default Trade View").WinFormsObject("TradeViewControl").WinFormsObject("splitContainer2").WinFormsObject("SplitterPanel", "", 1).WinFormsObject("gridTrades")2.8KViews0likes9CommentsRe: Execution Cursor
Hi Alex, Yeah I was looking for this only. Thanks a lot :) Can you also help me for issue below : To get X,Y coordinates of a particular cell in a table or grid. I am having Window application(.NET). My aim to is do right click on that particular cell , and to do a right click,Iwant X,Y coordinates of that cell. Please help me out .. Many Thanks.2.8KViews0likes11CommentsRe: Execution Cursor
Hi, Thanks for reply. But I am not talking about the cursor which is visible on the Application under test. I am talking about the cursor visible on the code(Unit) , so I am able to see which line is currently getting executed in my code. Can you suggest something on this ?2.9KViews0likes14Comments