Get Robo test to fill out a SearchView inside an Action bar menu item? - automated-tests

I want to use Firebase test lab's Robo test to fill out the search field in my app so that there are results for the Robo test to correctly crawl through my app.
I tried filling in the id of the search view action in the Robo test -> Advanced Options -> Additional fields section as in below screenshot, but Robo test could not find my searchview. The search view is an always-visible action in the menu set on my AppCompatActivity's action bar.
Any suggestions / thoughts are welcome, thanks!

When using the Robo auto completion parameters, you have to provide the name of the resource ID that corresponds with the EditText you want to populate. You can't put arbitrary values in there - they must be unique names that end up in your app's R class. If you are having problems finding that name, you should use a tools such as the Android Device Monitor's Hierarchy Viewer to discover those views and their names.

Related

Get exception details from a Azure Monitor Workbook

In application insights I can click on an exception and find nicely formatted information about it if I click on it.
This could look like this:
I would like to archive the same in an Azure Workbook. Here I can display all my exceptions with the KQL Term "Exceptions".
With the column settings I was hoping to be able to create a link to the Application insights page that shows me the same result like in the picture above.
I use this configuration:
Now I have a link, but when I click it there is just an empty pane:
Is there anything I misunderstand?
How do I need to configure my column settings to get a direct link to the Exception details like in clicking on the same item in Application Insights?
While not super obvious, the info bubble for the link settings shows:
The value in the column is expected to be an itemId of an exception telemetry item.
So as long as your query returns the itemId field, you can map that in the column settings:
(also, iirc, if the query returns a timestamp column, the details view will try to narrow down its search to just use a range around that time instead of trying to query a larger amount of time to find an item with that id)
Edit to add: if you are using thee Log Analytics based schema, AppExceptions the field is there but missing from documentation and the schema, there is an _ItemId field that is this field. I'm working with the App Insights/ Log Analytics teams to get this properly documented there.
Also, even if you're using the log analytics based app insights, you can also always query through the "app insights" resource and use the app insights schema the "old" way as well. (unless you're doing something specific in log analytics that the AI based way doesn't have?)
example:
left is query against app insights schema, with exceptions table and itemId column
right is query against logs schema, with AppExceptions table and _ItemId field, returning the same exact item by that id value. you can seee that the _ItemId field shows red squiggles like it isn't valid, but that is incorrect, you'll get the right row if you run the query.

how to manually enter data in firebase dashboard

I am trying to implement an "articles" section in my firebase database, how can I manually enter in the data? I want it set up like this but have only done it through code.
hover your click on a brach key (for example feed), then a + icon will appear. then you can create the name of the new branch and the value of the keys (that can be other json's)

Add custom states for test runs in Quality Center

How do I add my own states in test runs? The default states are:
Passed, Failed, Blocked, N/A, Not Completed, No Run
I want to add e g "Passed with Failures".
If you have the correct permissions you can go to Tools -> Customize... to reach the Project Customization menu. From there go to Project Lists -> Status to view the list of existing statuses and to use New Item to add new statuses to the list.
You can tell which project list to look at for a given field by going to the field in Project Entities. In this case it is Project Entities -> Test Instance -> System Fields -> Status which then shows you the lookup list "Status". You could also use the Goto List button to jump directly to the linked project list.

Can you create a joined view from task list and related content?

I'm trying to create a view of approval tasks that also includes a column from the related form library. I have tried creating a linked data source between the tasks list and the form library, but have trouble finding much information on creating linked views with the task list.
I have tried:
http://deannaschneider.wordpress.com/2012/07/25/joining-the-task-list-with-related-content-in-a-dvwp/
without luck - it just tells me "there are no items to show in this view." which I assume means it couldn't be joined correctly with the specified table.
I am using the standard approval workflow.
Here is the closest solution I've found so far
1.) Create task form fields in SharePoint designer.
2.) Go into Approval(1) to add the task form fields.
3.) Click 'Change the behavior of a single task'. Add 'Set task field' action in the Before a task is assigned section to set the task form fields to get the value of Current Item:ID.
4.) Use the new task field to create your subview on your linked datasource
While not optimal - and it created me many different problems - I was able to create the view desired.
Hopefully someone will come up with a better solution.

flex query dialog or end user search wizard?

I am hoping there is a component or strategy someone can recommend for presenting the user in a flex (flash builder 4) application a search wizard or query dialog where they are presented a list of fields and can choose one and specify search criteria. This will be used to call a web service and return data to a flex data grid.
For example, if I have a client data grid/database they might see first name, last name, city, state, zip, etc. They could click first name, type a value in a box. Ideally then be able to click additional fields and specify values. Click search and see their results in a datagrid or similar.
I am used to having these helpers in other development/database environments, so I thought I should ask.
I am thinking if I need to create this from scratch, I will either use a combobox? type drop down where they can select multiple items and type a value next to each, OR possibly I will have to create some kind of custom dialog with multiple fields in it. Looking for ideas/thoughts/examples?

Resources