How to find DevExpress Grid Cell Active Editor element in WinAppDriver - devexpress

I am using WinApp Driver to test windows forms application that has DevExpress grid. When I click one of the cells it brings up active editor which contains more controls. I can identify active editor or controls within it using Recorder. However i cannot find this element using xpath provided by Recorder. How can I find active editor of dev express grid cell?

Related

Telerik skin not working properly

I am using telerik rad controls on my asp net webforms application. And now I am having a problem with the skins, it works only on specific pages.
This is the thing...I have two pages PlacementProvider.aspx and ProviderDetails.aspx.
On the first page(PlacementProvider.aspx) everything is working. I can apply any of the skins as i want using the smart tag on RadGrid but on the second page(ProviderDetails.aspx) I only get the default skin when trying to choose a skin to RadGrid using the smart tag.
On the other side if I copy and paste the first page(PlacementProvider.aspx) and try the same thing it works.
Now, what is the the difference between this pages, how can I get the skin working on all pages?
Do you get any design time errors in the ProviderDetails.aspx when you switch to Design mode?
If the smart tag does not offer the rest of the available skins, you can type them manually as a value of the Skin property.
The available skins are enlisted at https://docs.telerik.com/devtools/aspnet-ajax/general-information/controlling-visual-appearance/how-skins-work#built-in-skins, e.g.
Black
BlackMetroTouch
Bootstrap
Default
Glow
Material (available for the Lightweight RenderMode only)
Metro
MetroTouch
Office2007
Office2010Black
Office2010Blue
Office2010Silver
Outlook
Silk
Simple
Sunset
Telerik
Vista
Web20
WebBlue
Windows7

Start new instance of a project using a button in form

I have a solution that contains 32 projects, one of which is a Windows form and the others are console applications. In the Windows form I have a combo box that its items are the names of the console application projects with a button.
Now, my problem is that how can I start the console application, which name is selected in the combo box by pushing the button, in a new instance? (if it is possible).
In your button click event, add the following lines, assuming cmbConsoleApps contains the file names of the console applications.
System.Diagnostics.Process.Start(cmbConsoleApps.Text);
More information about executing applications:
https://msdn.microsoft.com/en-us/library/h6ak8zt5(v=vs.110).aspx

Dynamic grid using wpf devexpress

I m having situation whhere i need to add text box in grid control cell just like we add button in the cell but the text box should open a small window when click .User should be able to fill enteries in that window.
This is possible in extjs but can anyone please tell how to achieve this with devexpress controls.Please find the screenshot of the same.
DevExpress provides a workaround for WPF platform: PopupContainerEdit for WPF, whats the status?
This solution is valid for WinForms platform only
DevExpress has the PopupContainerEdit editor that supports in-place mode. This editor is very handy to implement the functionality you described.
To make it work properly in in-place mode, handle these two events:
PopupContainerEdit.QueryResultValue Event
RepositoryItemPopupContainerEdit.QueryDisplayText Event
The result value will be passed to the cell where the editor is located. It is a bad practice to modify data manually after closing the pop-up window.

Does selenium support devexpress grid to record and playback using selenium IDE?

I have a web app which contains devexpress grid. I tried to click the link displayed in one of the column of the grid, but it doesn't capture anything. Can anyone help me to fix this!
Yes, Selenium works with DevExpress controls, but the Selenium IDE recorder often fails to detect the correct element in which case you need to replace the 'Target' parameter with a manually entered one. You can use Firebug or equivalent to help find likely targets. Also, it sometimes helps to replace 'click' with a 'mouseDown' followed by a 'mouseUp'.
For instance, the following script works for clicking on rows and columns:
// open the DevExpress grid demo (tested against version 11.2.5)
selenium.open("http://demos.devexpress.com/ASPxGridViewDemos/GridEditing/EditModes.aspx");
// click on the City column header
selenium.mouseDown("//td[#id='ContentHolder_grid_col3']/table/tbody/tr/td");
selenium.mouseUp("//td[#id='ContentHolder_grid_col3']/table/tbody/tr/td");
// click on the each of the first three rows
selenium.click("//tr[#id='ContentHolder_grid_DXDataRow0']/td/a");
selenium.click("//tr[#id='ContentHolder_grid_DXDataRow1']/td/a");
selenium.click("//tr[#id='ContentHolder_grid_DXDataRow2']/td/a");

ASP.NET C# - Display Embedded Web Objects in Datagrid control

Im using Visual Studio 2008, on an ASP.NET C# website. Overall what I want to accomplish is that when an item from a list of items is clicked, a video will display on the same page. I want this done all in one aspx page, I dont want to create a new page for each video file. The video files are hosted for me on www.screencast.com.
What I have done is created data-bounded radio list, and a datagrid which is binded to whatever is selected from my radio list. So when an item from that radio list is clicked, the video will diplay on the page, along with a description of the video and other important info.
What i have dome so far does not display my videos. Thats why I am here. I need to know how I can replace one of the fields from my data grid with an embedded web object.
What path do you guys recommend I take to acomplish my goal?
EDIT
With JoeRage's suggestion to use Shadowbox.js, Im going to have on my datagrid a simple link that when clicked, a video will display. My problem is how do I make my hyperlinks get formatted with the following info:
<a rel="shadowbox;width=800;height=600" title="Basic Pricebook Training" href="VideoContent/pricebookMgtBasic.swf"><img src="VideoContent/PricebookMgtBasic.gif" alt="" class="border"></a>
I know that on a datagrid, i can add a hypertextFeild. Problem is that even if I use the DataTextDormatString?
Check ShawdowBox.js.
Edit: You can use a TemplateColumn to build the desire output.

Resources