Can I search Bugzilla for all bugs I'm not associated to? Bugs I wouldn't currently get bugmail on. (CC, Reporter, Assignee, QA Contact) - bugzilla

I don't see a way to do this, even using Custom Search and negation.
My purpose is to find bugs with certain other characteristics that I'm not already getting bugmail on, then to add myself to their CC lists so I get bugmail for them.
It seems that the Custom Search "CC" entry searches for "any user on the CC list that matches". But I need it to look at the entire CC list to see if I'm on there.
I'm using Bugzilla 4.0.7, but we'll upgrade eventually so a 5.0-only solution would be okay.

I think the steps below might help you, it's important to try it using Internet Explorer browser:
1) On "Custom Search", select all available status for "Resolution"
2) Check the options for CC, Reporter, QA Contact and Assignee, leaving blank the text box where you normally input the email.
3) Click on "Search"
4) In the results page, scrolled down the page until you find "Change Columns" button and I click on it.
5) Select CC, Reporter, QA Contact and Assignee and click on "Change Columns"
6) Back on results page, right-click the page and click on "Export to Microsoft Excel"
7) Then on excel you can make the filter you want to and find the bugs you are not related to.
Please let me know if that helped you.

Related

Robot Framework Selenium | How to check if web page link is not the ${link}

I'm having an issue while trying to test a creation process of a user, i.e. I should try different cases while creating users, with name, without name, with symbols in name and etc...
My issue is that when I press the "Create" button, In case if the user is created I'm getting navigated to the users page which link looks like this website.com/user/userid123123, so I have to check if the link is "website.com/user/registration" in case if I expect any issues, but how do I check if user is successfully created if I can't handle the id of user earlier then it is created.
In general, there is a keyword to check if link is the one I need which is 'Link Should Be ${link}'.
But I also need some keyword which does the opposite action like 'Link Should Not Be ${link}'.
I have tried looking in the web if there is a keyword like the one I need, but I found nothing, I also looked for another solution for my problem but in that case as well I found no solution.
#dot Helped out with this, the issue can be easily solved if the page won't contain the field, so by checking that you can be sure that the test is complete!

Real name of view IBM Notes 9

I am currently trying to track down a problem in another persons agent. The agent crashes when it performs a lookup with a certain view in another database (I do not have designer access to it). In order to see whats wrong I wanted to take a look at the view and see if its empty or not. Problem is that I only have the "real name" of the view and navigation in Notes only gives me the "display name" which is totally different.
I searched the entire client if is possible to navigate to the view by "real name" but I did not find anything. Does anyone know?
If you have a properly installed Notes client, and a version of Windows which includes PowerShell, you can do the following after you open a Powershell prompt:
$ns = New-Object -COM Lotus.NotesSession
$ns.Initialize()
$db = $ns.GetDatabase("Server", "Filepath")
$db.Views | sort Name | ft Name, Aliases -auto
If the Notes type library is properly installed, you should execute the first command without issues.
If the client is properly installed and you entered the right password, the Notes session should have been properly initialized.
If the server and filepath are correct, the third instruction should execute without issues.
If all goes well, you will get a sorted list of all the views in the database, with their corresponding aliases (I think you are referring to the alias of a view when you refer to the "real name").
Edit: I should clarify that "all the views in the database" only includes the views that are visible for you. The database ACL may block you from accessing some views.
You can use the NotesPeek tool. It will let you explore everything in the database that you have rights to see, using a tree-style UI.
I hope this two tips will help you:
Shortcuts to open also hidden views in the database:
How to display hidden views in a Notes/Domino database
Or if point 1. does not help you try to make a toolbar action with the following formula:
OpenView #Command
and then, open the database where you think the view is and run the toolbar action.
If you are not familiar how you can make toolbar action mabye this link will help you:
Customize toolbar functionality and buttons
You know view's "real name" (= alias).
Create a button or agent somewhere with following LotusScript code:
Dim workspace As New NotesUIWorkspace
Call workspace.OpenDatabase("yourServer", "yourDatabasePath", "yourViewRealName")
or with following formula:
#Command([FileOpenDatabase]; "yourServer" : "yourDatabasePath"; "yourViewRealName")
and execute it in Notes Client. It will open the view.
As an alternative, copy the database to Local with the option "Application design only" and without option "Access Control List" and explore it in Designer.

Unable to click Settings link

scenario is:
1. login to google calendar
2. click on on settings icon on the top right corner of the page
3. click the settings link
When I search the element using the xpath in firebug I am able to find 1 match for each of them. But during the script execution, it is able to click on the settings icon, but unable to click on the settings link. Below is the code to find and click settings icon and settings link
//Select the settings icon : This is working
driver.findElement(By
.xpath(".//*[#id='mg-settings']/div")).click();
//click on Settings link : This is not working even though element is available
driver.findElements(By.xpath("//*[#id=':k']/div[text()=\"Settings\"]")).click();
Pay attention to the "s" at the end (you are using driver.findElements instead of driver.findElement). Probably that is just a typo.
Also I would not recommend tie to IDs like ":k". They are dynamic and can be changed any time.
Based on the Google Calendar structure I would recommend trying the following:
driver.findElement(By.xpath("//*div[contains(#class, 'goog-menuitem')]/div[contains(#class, 'goog-menuitem-content') and text() = 'Settings']")).click();

how to determine which profiles are assigned to a record type

I have 90 profiles,and a bunch of record types. Business wants to know who has access to a current record type (picklists..)
the only way i know how to do this, is to go profile by profile and check the Record Type Settings and see if it's listed.
is there a way to just generate a list or something? either through the point and click or apex?
EDIT:
I tried doing a search on the .profiles but eclipse doesn't support multi-line searches. Though it does support regexes i can't get my regular expression right, OR eclipse doesn't like me. Given my poor programming skills (and how I yell at my computer) it might be the latter. This is the string I want to search on.
<recordType>Event.RTEvent</recordType>
<visible>false</visible>
For something like this, I find that Notepad++ is a huge help. It supports multi-line searches if you enable the extended search mode (a simple radio button at the bottom of the Find menu), allowing you to grab line breaks (\r, \n, etc.). Pretty simple to do this across all of your profiles as well by navigating to the profiles folder of the Eclipse project in Windows Explorer, selecting all files, then right-click and select "Edit with Notepad++". Once they're all open, hit ctrl-F, enable the extended search mode, and search for something like this:
Event.RTEvent</recordType>\n <visible>false
Note that you may need to adjust the number of spaces after the \n depending on how far the data is indented. Click "Find All in All Opened Documents", and it'll give you a list of all occurrences of that string in your profiles files.

Export Failed Element Log(s) after deliver?

When a deliver has been performed I can rightlick an entry in the GUI version/element log and it displays me a popup with the element log. Quite handy.
I now have a delivery with about 25 failed ones and a couple of hundred OK's. Sadly I can not sort on the column "status" so I have to make screenshots wherever I find a [!] to sit together with the specific team to find out if it is really ok to not deliver those.
It would however be handy to have this list of element logs from a deliver so that I do not have to make screenshots or copy the contents of the popup box one by one but just have a list of the failed ones with the element log.
Is there a way to export the element logs from a deliver (so the the ones that show up when you rightclick and choose "Display Element Log") and/or only the ones that gave failures?
Whenever a deliver fails graphically, one possible solution is to resume it through the command line (cleartool deliver -resume), grepping for the "cleartool Error" message.
At least that way, you have a text information to share.
Other than tat, I do not know of a way to export the deliver result directly from the GUI.

Resources